#B4C142#B4C142

#B4C142 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.7% C 0.149 H 114.9°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#B4C142
RGBrgb(180, 193, 66)
HSLhsl(66, 51%, 51%)
HSVhsv(66, 66%, 76%)
CMYKcmyk(6.7%, 0%, 65.8%, 24.3%)
CIE-LABlab(74.97, -20.98, 59.87)
CIE-LCHlch(74.97, 63.44, 109.31°)
OKLaboklab(77.71% -0.0628 0.1352)
OKLCHoklch(77.71% 0.149 114.9)
XYZxyz(38.8767, 48.2372, 12.4159)
Luminance0.4824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C142 #4F42C1
analogous
#C18E42 #B4C142 #74C142
triadic
#B4C142 #42B4C1 #C142B4
tetradic
#B4C142 #42C18E #4F42C1 #C14274
square
#B4C142 #42C18E #4F42C1 #C14274
split-complementary
#B4C142 #4274C1 #8E42C1
monochromatic
#606722 #8B9531 #B4C142 #C6D070 #D9DF9E

Accessibility & contrast

On white

1.97
#B4C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#B4C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C142
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C142#FFFFFF#000000##000000
##B4C1421.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB830
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#BFB6A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b4c142;
/* rgb */ color: rgb(180, 193, 66);
/* oklch */ color: oklch(77.7% 0.149 114.9);
Tailwind
colors: {
  custom: {
    50: '#cdd37d',
    500: '#b4c142',
    950: '#000000',
  },
}
SCSS
$custom: #b4c142;
$custom-light: #cdd37d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c142",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 66.142,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77705,
    "c": 0.14906,
    "h": 114.9
  },
  "luminance": 0.48237
}

Semantic roles & 50–950 ramp

primary
#B4C142
secondary
#9993CC
accent
#4EDA5C
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B4C142

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B4C142 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva