#CFD37F#CFD37F

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

Color values

HEX#CFD37F
RGBrgb(207, 211, 127)
HSLhsl(63, 49%, 66%)
HSVhsv(63, 40%, 83%)
CMYKcmyk(1.9%, 0%, 39.8%, 17.3%)
CIE-LABlab(82.59, -13.77, 41.09)
CIE-LCHlch(82.59, 43.34, 108.52°)
OKLaboklab(84.51% -0.038 0.0999)
OKLCHoklch(84.51% 0.107 110.8)
XYZxyz(52.8578, 61.3871, 29.1390)
Luminance0.6139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD37F #837FD3
analogous
#D3AD7F #CFD37F #A5D37F
triadic
#CFD37F #7FCFD3 #D37FCF
tetradic
#CFD37F #7FD3AD #837FD3 #D37FA5
square
#CFD37F #7FD3AD #837FD3 #D37FA5
split-complementary
#CFD37F #7FA5D3 #AD7FD3
monochromatic
#9BA037 #BEC351 #CFD37F #E0E3AD #F1F2DA

Accessibility & contrast

On white

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

On black

13.28
#CFD37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD37F
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD37F#FFFFFF#000000##000000
##CFD37F1.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC78
Deuteranopia (green-blind)
#DFCF83
Tritanopia (blue-blind)
#D9CABE
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cfd37f;
/* rgb */ color: rgb(207, 211, 127);
/* oklch */ color: oklch(84.5% 0.107 110.8);
Tailwind
colors: {
  custom: {
    50: '#dfe0a5',
    500: '#cfd37f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd37f;
$custom-light: #dfe0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd37f",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 127
  },
  "hsl": {
    "h": 62.857,
    "s": 48.837,
    "l": 66.275
  },
  "oklch": {
    "l": 0.84506,
    "c": 0.10693,
    "h": 110.8
  },
  "luminance": 0.61386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFD37F

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

Preview Lab → · Contrast checker → · Palette generator →

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