#CDC95D#CDC95D

#CDC95D is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.130 H 107.0°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CDC95D
RGBrgb(205, 201, 93)
HSLhsl(58, 53%, 58%)
HSVhsv(58, 55%, 80%)
CMYKcmyk(0%, 2%, 54.6%, 19.6%)
CIE-LABlab(79.35, -12.72, 53.54)
CIE-LCHlch(79.35, 55.03, 103.37°)
OKLaboklab(81.76% -0.0382 0.1247)
OKLCHoklch(81.76% 0.13 107)
XYZxyz(48.0406, 55.5441, 18.5443)
Luminance0.5554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC95D #5D61CD
analogous
#CD915D #CDC95D #99CD5D
triadic
#CDC95D #5DCDC9 #C95DCD
tetradic
#CDC95D #5DCD91 #5D61CD #CD5D99
square
#CDC95D #5DCD91 #5D61CD #CD5D99
split-complementary
#CDC95D #5D99CD #915DCD
monochromatic
#868329 #B5B038 #CDC95D #DBD98C #EAE8BB

Accessibility & contrast

On white

1.73
#CDC95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CDC95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC95D
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC95D#FFFFFF#000000##000000
##CDC95D1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C252
Deuteranopia (green-blind)
#DAC763
Tritanopia (blue-blind)
#DABEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc95d;
/* rgb */ color: rgb(205, 201, 93);
/* oklch */ color: oklch(81.8% 0.130 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfd98e',
    500: '#cdc95d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc95d;
$custom-light: #dfd98e;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc95d",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 93
  },
  "hsl": {
    "h": 57.857,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81761,
    "c": 0.13044,
    "h": 107
  },
  "luminance": 0.55543
}

Semantic roles & 50–950 ramp

primary
#CDC95D
secondary
#41448D
accent
#51DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC95D

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

Preview Lab → · Contrast checker → · Palette generator →

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