#CDD41F#CDD41F

#CDD41F is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.7% C 0.180 H 112.2°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#CDD41F
RGBrgb(205, 212, 31)
HSLhsl(62, 74%, 48%)
HSVhsv(62, 85%, 83%)
CMYKcmyk(3.3%, 0%, 85.4%, 16.9%)
CIE-LABlab(81.93, -21.27, 77.63)
CIE-LCHlch(81.93, 80.49, 105.32°)
OKLaboklab(83.69% -0.0677 0.1663)
OKLCHoklch(83.69% 0.18 112.2)
XYZxyz(48.9694, 60.1663, 10.3297)
Luminance0.6017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD41F #261FD4
analogous
#D4801F #CDD41F #73D41F
triadic
#CDD41F #1FCDD4 #D41FCD
tetradic
#CDD41F #1FD480 #261FD4 #D41F73
square
#CDD41F #1FD480 #261FD4 #D41F73
split-complementary
#CDD41F #1F73D4 #801FD4
monochromatic
#66690F #999F17 #CDD41F #DFE54B #E8ED81

Accessibility & contrast

On white

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

On black

13.03
#CDD41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD41F
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD41F#FFFFFF#000000##000000
##CDD41F1.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CA00
Deuteranopia (green-blind)
#E6CE34
Tritanopia (blue-blind)
#DCC6B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cdd41f;
/* rgb */ color: rgb(205, 212, 31);
/* oklch */ color: oklch(83.7% 0.180 112.2);
Tailwind
colors: {
  custom: {
    50: '#e1e070',
    500: '#cdd41f',
    950: '#000000',
  },
}
SCSS
$custom: #cdd41f;
$custom-light: #e1e070;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd41f",
  "rgb": {
    "r": 205,
    "g": 212,
    "b": 31
  },
  "hsl": {
    "h": 62.32,
    "s": 74.486,
    "l": 47.647
  },
  "oklch": {
    "l": 0.83694,
    "c": 0.17951,
    "h": 112.2
  },
  "luminance": 0.60165
}

Semantic roles & 50–950 ramp

primary
#CDD41F
secondary
#272473
accent
#37F13E
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CDD41F

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

Preview Lab → · Contrast checker → · Palette generator →

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