#CBD251#CBD251

#CBD251 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.4% C 0.151 H 112.2°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#CBD251
RGBrgb(203, 210, 81)
HSLhsl(63, 59%, 57%)
HSVhsv(63, 61%, 82%)
CMYKcmyk(3.3%, 0%, 61.4%, 17.6%)
CIE-LABlab(81.50, -18.91, 61.15)
CIE-LCHlch(81.50, 64.00, 107.19°)
OKLaboklab(83.4% -0.0568 0.1395)
OKLCHoklch(83.4% 0.151 112.2)
XYZxyz(49.1617, 59.3848, 16.6557)
Luminance0.5938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD251 #5851D2
analogous
#D29951 #CBD251 #8BD251
triadic
#CBD251 #51CBD2 #D251CB
tetradic
#CBD251 #51D299 #5851D2 #D2518B
square
#CBD251 #51D299 #5851D2 #D2518B
split-complementary
#CBD251 #518BD2 #9951D2
monochromatic
#818623 #AFB72F #CBD251 #DADF82 #E8EBB2

Accessibility & contrast

On white

1.63
#CBD251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#CBD251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD251
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD251#FFFFFF#000000##000000
##CBD2511.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#E1CC59
Tritanopia (blue-blind)
#D8C6B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cbd251;
/* rgb */ color: rgb(203, 210, 81);
/* oklch */ color: oklch(83.4% 0.151 112.2);
Tailwind
colors: {
  custom: {
    50: '#dedf87',
    500: '#cbd251',
    950: '#000000',
  },
}
SCSS
$custom: #cbd251;
$custom-light: #dedf87;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd251",
  "rgb": {
    "r": 203,
    "g": 210,
    "b": 81
  },
  "hsl": {
    "h": 63.256,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83402,
    "c": 0.15063,
    "h": 112.2
  },
  "luminance": 0.59384
}

Semantic roles & 50–950 ramp

primary
#CBD251
secondary
#3F3B8D
accent
#46E24E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD251

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

Preview Lab → · Contrast checker → · Palette generator →

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