#CDCF41#CDCF41

#CDCF41 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.8% C 0.158 H 110.2°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#CDCF41
RGBrgb(205, 207, 65)
HSLhsl(61, 60%, 53%)
HSVhsv(61, 69%, 81%)
CMYKcmyk(1%, 0%, 68.6%, 18.8%)
CIE-LABlab(80.73, -17.55, 66.70)
CIE-LCHlch(80.73, 68.97, 104.74°)
OKLaboklab(82.79% -0.0547 0.1487)
OKLCHoklch(82.79% 0.158 110.2)
XYZxyz(48.4454, 57.9878, 13.6408)
Luminance0.5799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCF41 #4341CF
analogous
#CF8A41 #CDCF41 #86CF41
triadic
#CDCF41 #41CDCF #CF41CD
tetradic
#CDCF41 #41CF8A #4341CF #CF4186
square
#CDCF41 #41CF8A #4341CF #CF4186
split-complementary
#CDCF41 #4186CF #8A41CF
monochromatic
#76771E #A7A82B #CDCF41 #DADB72 #E7E8A3

Accessibility & contrast

On white

1.67
#CDCF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#CDCF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCF41
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCF41#FFFFFF#000000##000000
##CDCF411.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62A
Deuteranopia (green-blind)
#E1CA4B
Tritanopia (blue-blind)
#DBC2B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcf41;
/* rgb */ color: rgb(205, 207, 65);
/* oklch */ color: oklch(82.8% 0.158 110.2);
Tailwind
colors: {
  custom: {
    50: '#e0dd7e',
    500: '#cdcf41',
    950: '#000000',
  },
}
SCSS
$custom: #cdcf41;
$custom-light: #e0dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcf41",
  "rgb": {
    "r": 205,
    "g": 207,
    "b": 65
  },
  "hsl": {
    "h": 60.845,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82786,
    "c": 0.15848,
    "h": 110.2
  },
  "luminance": 0.57986
}

Semantic roles & 50–950 ramp

primary
#CDCF41
secondary
#363480
accent
#45E347
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CDCF41

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

Preview Lab → · Contrast checker → · Palette generator →

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