#CDC85B#CDC85B

#CDC85B is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.5% C 0.131 H 106.6°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#CDC85B
RGBrgb(205, 200, 91)
HSLhsl(57, 53%, 58%)
HSVhsv(57, 56%, 80%)
CMYKcmyk(0%, 2.4%, 55.6%, 19.6%)
CIE-LABlab(79.07, -12.37, 54.13)
CIE-LCHlch(79.07, 55.53, 102.87°)
OKLaboklab(81.53% -0.0374 0.1258)
OKLCHoklch(81.53% 0.131 106.6)
XYZxyz(47.7209, 55.0444, 18.0064)
Luminance0.5504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC85B #5B60CD
analogous
#CD8F5B #CDC85B #99CD5B
triadic
#CDC85B #5BCDC8 #C85BCD
tetradic
#CDC85B #5BCD8F #5B60CD #CD5B99
square
#CDC85B #5BCD8F #5B60CD #CD5B99
split-complementary
#CDC85B #5B99CD #8F5BCD
monochromatic
#858129 #B4AE37 #CDC85B #DBD88A #EAE7B9

Accessibility & contrast

On white

1.75
#CDC85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#CDC85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC85B
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC85B#FFFFFF#000000##000000
##CDC85B1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C150
Deuteranopia (green-blind)
#DAC661
Tritanopia (blue-blind)
#DABCB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc85b;
/* rgb */ color: rgb(205, 200, 91);
/* oklch */ color: oklch(81.5% 0.131 106.6);
Tailwind
colors: {
  custom: {
    50: '#dfd88d',
    500: '#cdc85b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc85b;
$custom-light: #dfd88d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc85b",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 91
  },
  "hsl": {
    "h": 57.368,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81526,
    "c": 0.13121,
    "h": 106.6
  },
  "luminance": 0.55043
}

Semantic roles & 50–950 ramp

primary
#CDC85B
secondary
#40438C
accent
#52DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC85B

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

Preview Lab → · Contrast checker → · Palette generator →

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