#CFD251#CFD251

#CFD251 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.7% C 0.150 H 110.5°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#CFD251
RGBrgb(207, 210, 81)
HSLhsl(61, 59%, 57%)
HSVhsv(61, 61%, 82%)
CMYKcmyk(1.4%, 0%, 61.4%, 17.6%)
CIE-LABlab(81.81, -17.27, 61.57)
CIE-LCHlch(81.81, 63.95, 105.67°)
OKLaboklab(83.73% -0.0524 0.1403)
OKLCHoklch(83.73% 0.15 110.5)
XYZxyz(50.2654, 59.9539, 16.7074)
Luminance0.5995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD251 #5451D2
analogous
#D29451 #CFD251 #8FD251
triadic
#CFD251 #51CFD2 #D251CF
tetradic
#CFD251 #51D294 #5451D2 #D2518F
square
#CFD251 #51D294 #5451D2 #D2518F
split-complementary
#CFD251 #518FD2 #9451D2
monochromatic
#848623 #B3B72F #CFD251 #DCDF82 #EAEBB2

Accessibility & contrast

On white

1.62
#CFD251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#CFD251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD251
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD251#FFFFFF#000000##000000
##CFD2511.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#E3CD59
Tritanopia (blue-blind)
#DCC6B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd251;
/* rgb */ color: rgb(207, 210, 81);
/* oklch */ color: oklch(83.7% 0.150 110.5);
Tailwind
colors: {
  custom: {
    50: '#e1df87',
    500: '#cfd251',
    950: '#000000',
  },
}
SCSS
$custom: #cfd251;
$custom-light: #e1df87;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd251",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 81
  },
  "hsl": {
    "h": 61.395,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83726,
    "c": 0.14977,
    "h": 110.5
  },
  "luminance": 0.59953
}

Semantic roles & 50–950 ramp

primary
#CFD251
secondary
#3C3B8D
accent
#46E249
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD251

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

Preview Lab → · Contrast checker → · Palette generator →

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