#CFD937#CFD937

#CFD937 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.0% C 0.174 H 113.2°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#CFD937
RGBrgb(207, 217, 55)
HSLhsl(64, 68%, 53%)
HSVhsv(64, 75%, 85%)
CMYKcmyk(4.6%, 0%, 74.7%, 14.9%)
CIE-LABlab(83.53, -22.09, 72.85)
CIE-LCHlch(83.53, 76.13, 106.86°)
OKLaboklab(85.05% -0.0684 0.1599)
OKLCHoklch(85.05% 0.174 113.2)
XYZxyz(51.2362, 63.1681, 13.1073)
Luminance0.6317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD937 #4137D9
analogous
#D99237 #CFD937 #7ED937
triadic
#CFD937 #37CFD9 #D937CF
tetradic
#CFD937 #37D992 #4137D9 #D9377E
square
#CFD937 #37D992 #4137D9 #D9377E
split-complementary
#CFD937 #377ED9 #9237D9
monochromatic
#777E18 #A8B122 #CFD937 #DBE36A #E8ED9E

Accessibility & contrast

On white

1.54
#CFD937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#CFD937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD937
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD937#FFFFFF#000000##000000
##CFD9371.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF0E
Deuteranopia (green-blind)
#E9D245
Tritanopia (blue-blind)
#DDCCBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd937;
/* rgb */ color: rgb(207, 217, 55);
/* oklch */ color: oklch(85.0% 0.174 113.2);
Tailwind
colors: {
  custom: {
    50: '#e2e47a',
    500: '#cfd937',
    950: '#000000',
  },
}
SCSS
$custom: #cfd937;
$custom-light: #e2e47a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd937",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 55
  },
  "hsl": {
    "h": 63.704,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.85045,
    "c": 0.17395,
    "h": 113.2
  },
  "luminance": 0.63167
}

Semantic roles & 50–950 ramp

primary
#CFD937
secondary
#342F85
accent
#3DEB48
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFD937

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

Preview Lab → · Contrast checker → · Palette generator →

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