#CFD38F#CFD38F

#CFD38F is a very light, moderate yellow. Relative luminance 0.618; OKLCH L 84.8% C 0.088 H 111.0°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#CFD38F
RGBrgb(207, 211, 143)
HSLhsl(64, 44%, 69%)
HSVhsv(64, 32%, 83%)
CMYKcmyk(1.9%, 0%, 32.2%, 17.3%)
CIE-LABlab(82.83, -11.90, 33.29)
CIE-LCHlch(82.83, 35.36, 109.67°)
OKLaboklab(84.78% -0.0317 0.0826)
OKLCHoklch(84.78% 0.088 111)
XYZxyz(53.9846, 61.8378, 35.0733)
Luminance0.6184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD38F #938FD3
analogous
#D3B58F #CFD38F #ADD38F
triadic
#CFD38F #8FCFD3 #D38FCF
tetradic
#CFD38F #8FD3B5 #938FD3 #D38FAD
square
#CFD38F #8FD3B5 #938FD3 #D38FAD
split-complementary
#CFD38F #8FADD3 #B58FD3
monochromatic
#A0A641 #BCC263 #CFD38F #E2E4BB #F5F6E7

Accessibility & contrast

On white

1.57
#CFD38F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.37
#CFD38F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD38F
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD38F#FFFFFF#000000##000000
##CFD38F1.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCD8A
Deuteranopia (green-blind)
#DECF92
Tritanopia (blue-blind)
#D8CBC2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd38f;
/* rgb */ color: rgb(207, 211, 143);
/* oklch */ color: oklch(84.8% 0.088 111.0);
Tailwind
colors: {
  custom: {
    50: '#dee0b0',
    500: '#cfd38f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd38f;
$custom-light: #dee0b0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd38f",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 143
  },
  "hsl": {
    "h": 63.529,
    "s": 43.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.84776,
    "c": 0.08849,
    "h": 111
  },
  "luminance": 0.61837
}

Semantic roles & 50–950 ramp

primary
#CFD38F
secondary
#625DA9
accent
#2FB737
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFD38F

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

Preview Lab → · Contrast checker → · Palette generator →

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