#CFD941#CFD941

#CFD941 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.1% C 0.168 H 113.2°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#CFD941
RGBrgb(207, 217, 65)
HSLhsl(64, 67%, 55%)
HSVhsv(64, 70%, 85%)
CMYKcmyk(4.6%, 0%, 70%, 14.9%)
CIE-LABlab(83.59, -21.63, 69.57)
CIE-LCHlch(83.59, 72.85, 107.27°)
OKLaboklab(85.11% -0.0662 0.1547)
OKLCHoklch(85.11% 0.168 113.2)
XYZxyz(51.5006, 63.2739, 14.5001)
Luminance0.6327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD941 #4B41D9
analogous
#D99741 #CFD941 #83D941
triadic
#CFD941 #41CFD9 #D941CF
tetradic
#CFD941 #41D997 #4B41D9 #D94183
square
#CFD941 #41D997 #4B41D9 #D94183
split-complementary
#CFD941 #4183D9 #9741D9
monochromatic
#7E851B #AEB825 #CFD941 #DCE374 #E9EDA7

Accessibility & contrast

On white

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

On black

13.65
#CFD941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD941
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD941#FFFFFF#000000##000000
##CFD9411.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd941;
/* rgb */ color: rgb(207, 217, 65);
/* oklch */ color: oklch(85.1% 0.168 113.2);
Tailwind
colors: {
  custom: {
    50: '#e1e47f',
    500: '#cfd941',
    950: '#000000',
  },
}
SCSS
$custom: #cfd941;
$custom-light: #e1e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd941",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 65
  },
  "hsl": {
    "h": 63.947,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.85108,
    "c": 0.16829,
    "h": 113.2
  },
  "luminance": 0.63273
}

Semantic roles & 50–950 ramp

primary
#CFD941
secondary
#39338B
accent
#3EEA49
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CFD941

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

Preview Lab → · Contrast checker → · Palette generator →

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