#CDC84B#CDC84B

#CDC84B is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.144 H 107.0°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CDC84B
RGBrgb(205, 200, 75)
HSLhsl(58, 57%, 55%)
HSVhsv(58, 63%, 80%)
CMYKcmyk(0%, 2.4%, 63.4%, 19.6%)
CIE-LABlab(78.92, -13.48, 60.94)
CIE-LCHlch(78.92, 62.42, 102.47°)
OKLaboklab(81.37% -0.0423 0.1382)
OKLCHoklch(81.37% 0.144 107)
XYZxyz(47.1027, 54.7972, 14.7510)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC84B #4B50CD
analogous
#CD874B #CDC84B #91CD4B
triadic
#CDC84B #4BCDC8 #C84BCD
tetradic
#CDC84B #4BCD87 #4B50CD #CD4B91
square
#CDC84B #4BCD87 #4B50CD #CD4B91
split-complementary
#CDC84B #4B91CD #874BCD
monochromatic
#7B7822 #ABA630 #CDC84B #DAD77B #E8E5AB

Accessibility & contrast

On white

1.76
#CDC84B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#CDC84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC84B
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC84B#FFFFFF#000000##000000
##CDC84B1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13B
Deuteranopia (green-blind)
#DBC653
Tritanopia (blue-blind)
#DBBCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc84b;
/* rgb */ color: rgb(205, 200, 75);
/* oklch */ color: oklch(81.4% 0.144 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfd883',
    500: '#cdc84b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc84b;
$custom-light: #dfd883;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc84b",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 75
  },
  "hsl": {
    "h": 57.692,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81367,
    "c": 0.14447,
    "h": 107
  },
  "luminance": 0.54796
}

Semantic roles & 50–950 ramp

primary
#CDC84B
secondary
#393C83
accent
#4EE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC84B

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

Preview Lab → · Contrast checker → · Palette generator →

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