#CFD257#CFD257

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

Color values

HEX#CFD257
RGBrgb(207, 210, 87)
HSLhsl(61, 58%, 58%)
HSVhsv(61, 59%, 82%)
CMYKcmyk(1.4%, 0%, 58.6%, 17.6%)
CIE-LABlab(81.86, -16.86, 59.08)
CIE-LCHlch(81.86, 61.44, 105.93°)
OKLaboklab(83.78% -0.0507 0.1358)
OKLCHoklch(83.78% 0.145 110.5)
XYZxyz(50.5004, 60.0479, 17.9451)
Luminance0.6005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD257 #5A57D2
analogous
#D29757 #CFD257 #92D257
triadic
#CFD257 #57CFD2 #D257CF
tetradic
#CFD257 #57D297 #5A57D2 #D25792
square
#CFD257 #57D297 #5A57D2 #D25792
split-complementary
#CFD257 #5792D2 #9757D2
monochromatic
#878A25 #B7BA32 #CFD257 #DDDF87 #EBECB8

Accessibility & contrast

On white

1.61
#CFD257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#CFD257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD257
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD257#FFFFFF#000000##000000
##CFD2571.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA49
Deuteranopia (green-blind)
#E2CD5E
Tritanopia (blue-blind)
#DCC6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd257;
/* rgb */ color: rgb(207, 210, 87);
/* oklch */ color: oklch(83.8% 0.145 110.5);
Tailwind
colors: {
  custom: {
    50: '#e0df8b',
    500: '#cfd257',
    950: '#000000',
  },
}
SCSS
$custom: #cfd257;
$custom-light: #e0df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd257",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 61.463,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83783,
    "c": 0.14495,
    "h": 110.5
  },
  "luminance": 0.60047
}

Semantic roles & 50–950 ramp

primary
#CFD257
secondary
#3F3D90
accent
#47E14B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD257

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

Preview Lab → · Contrast checker → · Palette generator →

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