#CFD332#CFD332

#CFD332 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.7% C 0.170 H 111.0°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#CFD332
RGBrgb(207, 211, 50)
HSLhsl(61, 65%, 51%)
HSVhsv(61, 76%, 83%)
CMYKcmyk(1.9%, 0%, 76.3%, 17.3%)
CIE-LABlab(81.88, -19.36, 72.87)
CIE-LCHlch(81.88, 75.40, 104.88°)
OKLaboklab(83.72% -0.0612 0.1591)
OKLCHoklch(83.72% 0.17 111)
XYZxyz(49.6039, 60.0856, 12.0017)
Luminance0.6008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD332 #3632D3
analogous
#D38632 #CFD332 #7ED332
triadic
#CFD332 #32CFD3 #D332CF
tetradic
#CFD332 #32D386 #3632D3 #D3327E
square
#CFD332 #32D386 #3632D3 #D3327E
split-complementary
#CFD332 #327ED3 #8632D3
monochromatic
#707218 #A1A423 #CFD332 #DBDE64 #E7E997

Accessibility & contrast

On white

1.61
#CFD332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#CFD332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD332
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD332#FFFFFF#000000##000000
##CFD3321.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4C900
Deuteranopia (green-blind)
#E5CE40
Tritanopia (blue-blind)
#DEC6B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd332;
/* rgb */ color: rgb(207, 211, 50);
/* oklch */ color: oklch(83.7% 0.170 111.0);
Tailwind
colors: {
  custom: {
    50: '#e2e077',
    500: '#cfd332',
    950: '#000000',
  },
}
SCSS
$custom: #cfd332;
$custom-light: #e2e077;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd332",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 50
  },
  "hsl": {
    "h": 61.491,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.8372,
    "c": 0.17048,
    "h": 111
  },
  "luminance": 0.60084
}

Semantic roles & 50–950 ramp

primary
#CFD332
secondary
#302E7B
accent
#40E844
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFD332

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

Preview Lab → · Contrast checker → · Palette generator →

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