#CFD37A#CFD37A

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

Color values

HEX#CFD37A
RGBrgb(207, 211, 122)
HSLhsl(63, 50%, 65%)
HSVhsv(63, 42%, 83%)
CMYKcmyk(1.9%, 0%, 42.2%, 17.3%)
CIE-LABlab(82.52, -14.30, 43.49)
CIE-LCHlch(82.52, 45.78, 108.20°)
OKLaboklab(84.43% -0.0399 0.1051)
OKLCHoklch(84.43% 0.112 110.8)
XYZxyz(52.5400, 61.2600, 27.4652)
Luminance0.6126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD37A #7E7AD3
analogous
#D3AB7A #CFD37A #A2D37A
triadic
#CFD37A #7ACFD3 #D37ACF
tetradic
#CFD37A #7AD3AB #7E7AD3 #D37AA2
square
#CFD37A #7AD3AB #7E7AD3 #D37AA2
split-complementary
#CFD37A #7AA2D3 #AB7AD3
monochromatic
#999E34 #BEC44C #CFD37A #E0E2A8 #F0F1D6

Accessibility & contrast

On white

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

On black

13.25
#CFD37A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD37A
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD37A#FFFFFF#000000##000000
##CFD37A1.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd37a;
/* rgb */ color: rgb(207, 211, 122);
/* oklch */ color: oklch(84.4% 0.112 110.8);
Tailwind
colors: {
  custom: {
    50: '#dfe0a2',
    500: '#cfd37a',
    950: '#000000',
  },
}
SCSS
$custom: #cfd37a;
$custom-light: #dfe0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd37a",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 122
  },
  "hsl": {
    "h": 62.697,
    "s": 50.282,
    "l": 65.294
  },
  "oklch": {
    "l": 0.8443,
    "c": 0.11241,
    "h": 110.8
  },
  "luminance": 0.61259
}

Semantic roles & 50–950 ramp

primary
#CFD37A
secondary
#524EA3
accent
#28BE2F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD37A

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

Preview Lab → · Contrast checker → · Palette generator →

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