#CDC95B#CDC95B

#CDC95B is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.7% C 0.132 H 107.1°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#CDC95B
RGBrgb(205, 201, 91)
HSLhsl(58, 53%, 58%)
HSVhsv(58, 56%, 80%)
CMYKcmyk(0%, 2%, 55.6%, 19.6%)
CIE-LABlab(79.33, -12.88, 54.43)
CIE-LCHlch(79.33, 55.94, 103.31°)
OKLaboklab(81.74% -0.0388 0.1264)
OKLCHoklch(81.74% 0.132 107.1)
XYZxyz(47.9532, 55.5092, 18.0838)
Luminance0.5551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC95B #5B5FCD
analogous
#CD905B #CDC95B #98CD5B
triadic
#CDC95B #5BCDC9 #C95BCD
tetradic
#CDC95B #5BCD90 #5B5FCD #CD5B98
square
#CDC95B #5BCD90 #5B5FCD #CD5B98
split-complementary
#CDC95B #5B98CD #905BCD
monochromatic
#858229 #B4B037 #CDC95B #DBD88A #EAE8B9

Accessibility & contrast

On white

1.74
#CDC95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#CDC95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC95B
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC95B#FFFFFF#000000##000000
##CDC95B1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C250
Deuteranopia (green-blind)
#DAC761
Tritanopia (blue-blind)
#DABDB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc95b;
/* rgb */ color: rgb(205, 201, 91);
/* oklch */ color: oklch(81.7% 0.132 107.1);
Tailwind
colors: {
  custom: {
    50: '#dfd98d',
    500: '#cdc95b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc95b;
$custom-light: #dfd98d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc95b",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 91
  },
  "hsl": {
    "h": 57.895,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81739,
    "c": 0.13225,
    "h": 107.1
  },
  "luminance": 0.55508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC95B

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

Preview Lab → · Contrast checker → · Palette generator →

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