#CFD936#CFD936

#CFD936 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#CFD936
RGBrgb(207, 217, 54)
HSLhsl(64, 68%, 53%)
HSVhsv(64, 75%, 85%)
CMYKcmyk(4.6%, 0%, 75.1%, 14.9%)
CIE-LABlab(83.53, -22.13, 73.16)
CIE-LCHlch(83.53, 76.43, 106.83°)
OKLaboklab(85.04% -0.0686 0.1604)
OKLCHoklch(85.04% 0.174 113.2)
XYZxyz(51.2125, 63.1586, 12.9824)
Luminance0.6316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD936 #4036D9
analogous
#D99136 #CFD936 #7DD936
triadic
#CFD936 #36CFD9 #D936CF
tetradic
#CFD936 #36D991 #4036D9 #D9367D
square
#CFD936 #36D991 #4036D9 #D9367D
split-complementary
#CFD936 #367DD9 #9136D9
monochromatic
#777D18 #A8B021 #CFD936 #DBE369 #E8EC9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD936#FFFFFF#000000##000000
##CFD9361.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)
#E9CF0A
Deuteranopia (green-blind)
#E9D244
Tritanopia (blue-blind)
#DDCCBA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd936;
/* rgb */ color: rgb(207, 217, 54);
/* oklch */ color: oklch(85.0% 0.174 113.2);
Tailwind
colors: {
  custom: {
    50: '#e2e47a',
    500: '#cfd936',
    950: '#000000',
  },
}
SCSS
$custom: #cfd936;
$custom-light: #e2e47a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd936",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 54
  },
  "hsl": {
    "h": 63.681,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8504,
    "c": 0.17447,
    "h": 113.2
  },
  "luminance": 0.63157
}

Semantic roles & 50–950 ramp

primary
#CFD936
secondary
#342F84
accent
#3DEB47
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFD936

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

Preview Lab → · Contrast checker → · Palette generator →

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