#CFD37B#CFD37B

#CFD37B is a very light, moderate yellow. Relative luminance 0.613; OKLCH L 84.4% C 0.111 H 110.8°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#CFD37B
RGBrgb(207, 211, 123)
HSLhsl(63, 50%, 65%)
HSVhsv(63, 42%, 83%)
CMYKcmyk(1.9%, 0%, 41.7%, 17.3%)
CIE-LABlab(82.53, -14.19, 43.01)
CIE-LCHlch(82.53, 45.29, 108.26°)
OKLaboklab(84.45% -0.0396 0.1041)
OKLCHoklch(84.45% 0.111 110.8)
XYZxyz(52.6023, 61.2849, 27.7932)
Luminance0.6128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD37B #7F7BD3
analogous
#D3AB7B #CFD37B #A3D37B
triadic
#CFD37B #7BCFD3 #D37BCF
tetradic
#CFD37B #7BD3AB #7F7BD3 #D37BA3
square
#CFD37B #7BD3AB #7F7BD3 #D37BA3
split-complementary
#CFD37B #7BA3D3 #AB7BD3
monochromatic
#9A9F35 #BEC44D #CFD37B #E0E2A9 #F0F2D7

Accessibility & contrast

On white

1.58
#CFD37B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.26
#CFD37B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD37B
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD37B#FFFFFF#000000##000000
##CFD37B1.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC74
Deuteranopia (green-blind)
#E0CF7F
Tritanopia (blue-blind)
#DAC9BE
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd37b;
/* rgb */ color: rgb(207, 211, 123);
/* oklch */ color: oklch(84.4% 0.111 110.8);
Tailwind
colors: {
  custom: {
    50: '#dfe0a2',
    500: '#cfd37b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd37b;
$custom-light: #dfe0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd37b",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 123
  },
  "hsl": {
    "h": 62.727,
    "s": 50,
    "l": 65.49
  },
  "oklch": {
    "l": 0.84445,
    "c": 0.11132,
    "h": 110.8
  },
  "luminance": 0.61284
}

Semantic roles & 50–950 ramp

primary
#CFD37B
secondary
#534FA3
accent
#28BD2F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD37B

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

Preview Lab → · Contrast checker → · Palette generator →

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