#CFD37E#CFD37E

#CFD37E is a very light, moderate yellow. Relative luminance 0.614; OKLCH L 84.5% C 0.108 H 110.8°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#CFD37E
RGBrgb(207, 211, 126)
HSLhsl(63, 49%, 66%)
HSVhsv(63, 40%, 83%)
CMYKcmyk(1.9%, 0%, 40.3%, 17.3%)
CIE-LABlab(82.57, -13.87, 41.57)
CIE-LCHlch(82.57, 43.83, 108.46°)
OKLaboklab(84.49% -0.0384 0.101)
OKLCHoklch(84.49% 0.108 110.8)
XYZxyz(52.7929, 61.3612, 28.7974)
Luminance0.6136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD37E #827ED3
analogous
#D3AC7E #CFD37E #A4D37E
triadic
#CFD37E #7ECFD3 #D37ECF
tetradic
#CFD37E #7ED3AC #827ED3 #D37EA4
square
#CFD37E #7ED3AC #827ED3 #D37EA4
split-complementary
#CFD37E #7EA4D3 #AC7ED3
monochromatic
#9BA037 #BEC350 #CFD37E #E0E3AC #F1F2D9

Accessibility & contrast

On white

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

On black

13.27
#CFD37E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD37E
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD37E#FFFFFF#000000##000000
##CFD37E1.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC77
Deuteranopia (green-blind)
#E0CF82
Tritanopia (blue-blind)
#D9CABE
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cfd37e;
/* rgb */ color: rgb(207, 211, 126);
/* oklch */ color: oklch(84.5% 0.108 110.8);
Tailwind
colors: {
  custom: {
    50: '#dfe0a4',
    500: '#cfd37e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd37e;
$custom-light: #dfe0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd37e",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 126
  },
  "hsl": {
    "h": 62.824,
    "s": 49.133,
    "l": 66.078
  },
  "oklch": {
    "l": 0.8449,
    "c": 0.10803,
    "h": 110.8
  },
  "luminance": 0.6136
}

Semantic roles & 50–950 ramp

primary
#CFD37E
secondary
#5450A5
accent
#29BC30
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD37E

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

Preview Lab → · Contrast checker → · Palette generator →

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