#CFD57B#CFD57B

#CFD57B is a very light, moderate yellow. Relative luminance 0.623; OKLCH L 84.9% C 0.114 H 111.9°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#CFD57B
RGBrgb(207, 213, 123)
HSLhsl(64, 52%, 66%)
HSVhsv(64, 42%, 84%)
CMYKcmyk(2.8%, 0%, 42.3%, 16.5%)
CIE-LABlab(83.06, -15.19, 43.68)
CIE-LCHlch(83.06, 46.25, 109.18°)
OKLaboklab(84.87% -0.0424 0.1056)
OKLCHoklch(84.87% 0.114 111.9)
XYZxyz(53.1022, 62.2848, 27.9599)
Luminance0.6228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD57B #817BD5
analogous
#D5AE7B #CFD57B #A2D57B
triadic
#CFD57B #7BCFD5 #D57BCF
tetradic
#CFD57B #7BD5AE #817BD5 #D57BA2
square
#CFD57B #7BD5AE #817BD5 #D57BA2
split-complementary
#CFD57B #7BA2D5 #AE7BD5
monochromatic
#9BA234 #BEC64D #CFD57B #E0E4A9 #F1F3D8

Accessibility & contrast

On white

1.56
#CFD57B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.46
#CFD57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD57B
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD57B#FFFFFF#000000##000000
##CFD57B1.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CE74
Deuteranopia (green-blind)
#E1D07F
Tritanopia (blue-blind)
#D9CBBF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cfd57b;
/* rgb */ color: rgb(207, 213, 123);
/* oklch */ color: oklch(84.9% 0.114 111.9);
Tailwind
colors: {
  custom: {
    50: '#dfe1a3',
    500: '#cfd57b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd57b;
$custom-light: #dfe1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd57b",
  "rgb": {
    "r": 207,
    "g": 213,
    "b": 123
  },
  "hsl": {
    "h": 64,
    "s": 51.724,
    "l": 65.882
  },
  "oklch": {
    "l": 0.84869,
    "c": 0.11376,
    "h": 111.9
  },
  "luminance": 0.62284
}

Semantic roles & 50–950 ramp

primary
#CFD57B
secondary
#544EA6
accent
#26BF31
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD57B

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

Preview Lab → · Contrast checker → · Palette generator →

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