#CFD256#CFD256

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

Color values

HEX#CFD256
RGBrgb(207, 210, 86)
HSLhsl(61, 58%, 58%)
HSVhsv(61, 59%, 82%)
CMYKcmyk(1.4%, 0%, 59%, 17.6%)
CIE-LABlab(81.86, -16.93, 59.50)
CIE-LCHlch(81.86, 61.86, 105.88°)
OKLaboklab(83.77% -0.051 0.1366)
OKLCHoklch(83.77% 0.146 110.5)
XYZxyz(50.4598, 60.0317, 17.7315)
Luminance0.6003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD256 #5956D2
analogous
#D29756 #CFD256 #91D256
triadic
#CFD256 #56CFD2 #D256CF
tetradic
#CFD256 #56D297 #5956D2 #D25691
square
#CFD256 #56D297 #5956D2 #D25691
split-complementary
#CFD256 #5691D2 #9756D2
monochromatic
#878925 #B6B931 #CFD256 #DDDF86 #EAECB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD256#FFFFFF#000000##000000
##CFD2561.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)
#E1CA48
Deuteranopia (green-blind)
#E2CD5D
Tritanopia (blue-blind)
#DCC6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd256;
/* rgb */ color: rgb(207, 210, 86);
/* oklch */ color: oklch(83.8% 0.146 110.5);
Tailwind
colors: {
  custom: {
    50: '#e0df8a',
    500: '#cfd256',
    950: '#000000',
  },
}
SCSS
$custom: #cfd256;
$custom-light: #e0df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd256",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 86
  },
  "hsl": {
    "h": 61.452,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83773,
    "c": 0.14578,
    "h": 110.5
  },
  "luminance": 0.6003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFD256

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

Preview Lab → · Contrast checker → · Palette generator →

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