#B9CE39#B9CE39

#B9CE39 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 80.9% C 0.168 H 117.4°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#B9CE39
RGBrgb(185, 206, 57)
HSLhsl(68, 60%, 52%)
HSVhsv(68, 72%, 81%)
CMYKcmyk(10.2%, 0%, 72.3%, 19.2%)
CIE-LABlab(78.90, -25.75, 67.24)
CIE-LCHlch(78.90, 72.01, 110.95°)
OKLaboklab(80.93% -0.0772 0.1491)
OKLCHoklch(80.93% 0.168 117.4)
XYZxyz(42.8184, 54.7528, 12.1828)
Luminance0.5475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CE39 #4E39CE
analogous
#CE9839 #B9CE39 #6FCE39
triadic
#B9CE39 #39B9CE #CE39B9
tetradic
#B9CE39 #39CE98 #4E39CE #CE396F
square
#B9CE39 #39CE98 #4E39CE #CE396F
split-complementary
#B9CE39 #396FCE #9839CE
monochromatic
#65711C #91A228 #B9CE39 #CADA6A #DCE69B

Accessibility & contrast

On white

1.76
#B9CE39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#B9CE39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CE39
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CE39#FFFFFF#000000##000000
##B9CE391.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31C
Deuteranopia (green-blind)
#DAC446
Tritanopia (blue-blind)
#C4C2B1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b9ce39;
/* rgb */ color: rgb(185, 206, 57);
/* oklch */ color: oklch(80.9% 0.168 117.4);
Tailwind
colors: {
  custom: {
    50: '#d2dc7a',
    500: '#b9ce39',
    950: '#000000',
  },
}
SCSS
$custom: #b9ce39;
$custom-light: #d2dc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ce39",
  "rgb": {
    "r": 185,
    "g": 206,
    "b": 57
  },
  "hsl": {
    "h": 68.456,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80928,
    "c": 0.16794,
    "h": 117.4
  },
  "luminance": 0.54752
}

Semantic roles & 50–950 ramp

primary
#B9CE39
secondary
#3C317A
accent
#44E35B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B9CE39

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

Preview Lab → · Contrast checker → · Palette generator →

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