#B9CE2D#B9CE2D

#B9CE2D is a light, vivid yellow. Relative luminance 0.546; OKLCH L 80.9% C 0.174 H 117.2°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#B9CE2D
RGBrgb(185, 206, 45)
HSLhsl(68, 64%, 49%)
HSVhsv(68, 78%, 81%)
CMYKcmyk(10.2%, 0%, 78.2%, 19.2%)
CIE-LABlab(78.84, -26.28, 70.97)
CIE-LCHlch(78.84, 75.68, 110.32°)
OKLaboklab(80.86% -0.0796 0.155)
OKLCHoklch(80.86% 0.174 117.2)
XYZxyz(42.5536, 54.6469, 10.7883)
Luminance0.5465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CE2D #422DCE
analogous
#CE932D #B9CE2D #69CE2D
triadic
#B9CE2D #2DB9CE #CE2DB9
tetradic
#B9CE2D #2DCE93 #422DCE #CE2D69
square
#B9CE2D #2DCE93 #422DCE #CE2D69
split-complementary
#B9CE2D #2D69CE #932DCE
monochromatic
#5F6A17 #8C9C22 #B9CE2D #CBDC5D #DBE78F

Accessibility & contrast

On white

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

On black

11.93
#B9CE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CE2D
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CE2D#FFFFFF#000000##000000
##B9CE2D1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC300
Deuteranopia (green-blind)
#DAC43D
Tritanopia (blue-blind)
#C5C2B1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b9ce2d;
/* rgb */ color: rgb(185, 206, 45);
/* oklch */ color: oklch(80.9% 0.174 117.2);
Tailwind
colors: {
  custom: {
    50: '#d2dc74',
    500: '#b9ce2d',
    950: '#000000',
  },
}
SCSS
$custom: #b9ce2d;
$custom-light: #d2dc74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ce2d",
  "rgb": {
    "r": 185,
    "g": 206,
    "b": 45
  },
  "hsl": {
    "h": 67.826,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.80859,
    "c": 0.17425,
    "h": 117.2
  },
  "luminance": 0.54646
}

Semantic roles & 50–950 ramp

primary
#B9CE2D
secondary
#352C73
accent
#41E756
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B9CE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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