#CDC05B#CDC05B

#CDC05B is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.8% C 0.123 H 102.0°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#CDC05B
RGBrgb(205, 192, 91)
HSLhsl(53, 53%, 58%)
HSVhsv(53, 56%, 80%)
CMYKcmyk(0%, 6.3%, 55.6%, 19.6%)
CIE-LABlab(76.94, -8.29, 51.70)
CIE-LCHlch(76.94, 52.36, 99.11°)
OKLaboklab(79.84% -0.0257 0.1206)
OKLCHoklch(79.84% 0.123 102)
XYZxyz(45.9163, 51.4354, 17.4049)
Luminance0.5143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC05B #5B68CD
analogous
#CD875B #CDC05B #A1CD5B
triadic
#CDC05B #5BCDC0 #C05BCD
tetradic
#CDC05B #5BCD87 #5B68CD #CD5BA1
square
#CDC05B #5BCD87 #5B68CD #CD5BA1
split-complementary
#CDC05B #5BA1CD #875BCD
monochromatic
#857A29 #B4A637 #CDC05B #DBD28A #EAE4B9

Accessibility & contrast

On white

1.86
#CDC05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#CDC05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC05B
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC05B#FFFFFF#000000##000000
##CDC05B1.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB51
Deuteranopia (green-blind)
#D3C160
Tritanopia (blue-blind)
#DBB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cdc05b;
/* rgb */ color: rgb(205, 192, 91);
/* oklch */ color: oklch(79.8% 0.123 102.0);
Tailwind
colors: {
  custom: {
    50: '#dfd28c',
    500: '#cdc05b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc05b;
$custom-light: #dfd28c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc05b",
  "rgb": {
    "r": 205,
    "g": 192,
    "b": 91
  },
  "hsl": {
    "h": 53.158,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79837,
    "c": 0.12326,
    "h": 102
  },
  "luminance": 0.51434
}

Semantic roles & 50–950 ramp

primary
#CDC05B
secondary
#40498C
accent
#5CDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC05B

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

Preview Lab → · Contrast checker → · Palette generator →

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