#B4C239#B4C239

#B4C239 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 77.9% C 0.156 H 115.2°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#B4C239
RGBrgb(180, 194, 57)
HSLhsl(66, 55%, 49%)
HSVhsv(66, 71%, 76%)
CMYKcmyk(7.2%, 0%, 70.6%, 23.9%)
CIE-LABlab(75.19, -21.98, 63.51)
CIE-LCHlch(75.19, 67.21, 109.09°)
OKLaboklab(77.86% -0.0665 0.1414)
OKLCHoklch(77.86% 0.156 115.2)
XYZxyz(38.8537, 48.5829, 11.2008)
Luminance0.4858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C239 #4739C2
analogous
#C28C39 #B4C239 #70C239
triadic
#B4C239 #39B4C2 #C239B4
tetradic
#B4C239 #39C28C #4739C2 #C23970
square
#B4C239 #39C28C #4739C2 #C23970
split-complementary
#B4C239 #3970C2 #8C39C2
monochromatic
#5C631D #88932B #B4C239 #C7D266 #D8E095

Accessibility & contrast

On white

1.96
#B4C239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#B4C239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C239
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C239#FFFFFF#000000##000000
##B4C2391.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B821
Deuteranopia (green-blind)
#CFBA44
Tritanopia (blue-blind)
#C0B7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b4c239;
/* rgb */ color: rgb(180, 194, 57);
/* oklch */ color: oklch(77.9% 0.156 115.2);
Tailwind
colors: {
  custom: {
    50: '#ced478',
    500: '#b4c239',
    950: '#000000',
  },
}
SCSS
$custom: #b4c239;
$custom-light: #ced478;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c239",
  "rgb": {
    "r": 180,
    "g": 194,
    "b": 57
  },
  "hsl": {
    "h": 66.131,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77859,
    "c": 0.15627,
    "h": 115.2
  },
  "luminance": 0.48582
}

Semantic roles & 50–950 ramp

primary
#B4C239
secondary
#928BCB
accent
#4ADE59
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B4C239

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

Preview Lab → · Contrast checker → · Palette generator →

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