#B9C239#B9C239

#B9C239 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.3% C 0.155 H 113.2°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#B9C239
RGBrgb(185, 194, 57)
HSLhsl(64, 55%, 49%)
HSVhsv(64, 71%, 76%)
CMYKcmyk(4.6%, 0%, 70.6%, 23.9%)
CIE-LABlab(75.57, -19.89, 64.02)
CIE-LCHlch(75.57, 67.04, 107.26°)
OKLaboklab(78.26% -0.0609 0.1423)
OKLCHoklch(78.26% 0.155 113.2)
XYZxyz(40.0391, 49.1941, 11.2563)
Luminance0.4919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C239 #4239C2
analogous
#C28739 #B9C239 #74C239
triadic
#B9C239 #39B9C2 #C239B9
tetradic
#B9C239 #39C287 #4239C2 #C23974
square
#B9C239 #39C287 #4239C2 #C23974
split-complementary
#B9C239 #3974C2 #8739C2
monochromatic
#5F631D #8C932B #B9C239 #CBD266 #DBE095

Accessibility & contrast

On white

1.94
#B9C239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#B9C239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C239
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C239#FFFFFF#000000##000000
##B9C2391.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B921
Deuteranopia (green-blind)
#D0BC44
Tritanopia (blue-blind)
#C5B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b9c239;
/* rgb */ color: rgb(185, 194, 57);
/* oklch */ color: oklch(78.3% 0.155 113.2);
Tailwind
colors: {
  custom: {
    50: '#d1d478',
    500: '#b9c239',
    950: '#000000',
  },
}
SCSS
$custom: #b9c239;
$custom-light: #d1d478;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c239",
  "rgb": {
    "r": 185,
    "g": 194,
    "b": 57
  },
  "hsl": {
    "h": 63.942,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78258,
    "c": 0.15482,
    "h": 113.2
  },
  "luminance": 0.49193
}

Semantic roles & 50–950 ramp

primary
#B9C239
secondary
#908BCB
accent
#4ADE54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B9C239

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

Preview Lab → · Contrast checker → · Palette generator →

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