#CDC95A#CDC95A

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

Color values

HEX#CDC95A
RGBrgb(205, 201, 90)
HSLhsl(58, 53%, 58%)
HSVhsv(58, 56%, 80%)
CMYKcmyk(0%, 2%, 56.1%, 19.6%)
CIE-LABlab(79.32, -12.95, 54.87)
CIE-LCHlch(79.32, 56.38, 103.28°)
OKLaboklab(81.73% -0.0391 0.1273)
OKLCHoklch(81.73% 0.133 107.1)
XYZxyz(47.9104, 55.4920, 17.8581)
Luminance0.5549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC95A #5A5ECD
analogous
#CD8F5A #CDC95A #97CD5A
triadic
#CDC95A #5ACDC9 #C95ACD
tetradic
#CDC95A #5ACD8F #5A5ECD #CD5A97
square
#CDC95A #5ACD8F #5A5ECD #CD5A97
split-complementary
#CDC95A #5A97CD #8F5ACD
monochromatic
#848128 #B3AF36 #CDC95A #DBD889 #E9E8B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC95A#FFFFFF#000000##000000
##CDC95A1.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)
#D8C24E
Deuteranopia (green-blind)
#DAC760
Tritanopia (blue-blind)
#DABDB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc95a;
/* rgb */ color: rgb(205, 201, 90);
/* oklch */ color: oklch(81.7% 0.133 107.1);
Tailwind
colors: {
  custom: {
    50: '#dfd98c',
    500: '#cdc95a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc95a;
$custom-light: #dfd98c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc95a",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 90
  },
  "hsl": {
    "h": 57.913,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81728,
    "c": 0.13314,
    "h": 107.1
  },
  "luminance": 0.55491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC95A

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

Preview Lab → · Contrast checker → · Palette generator →

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