#CDC95E#CDC95E

#CDC95E is a light, vivid yellow. Relative luminance 0.556; 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#CDC95E
RGBrgb(205, 201, 94)
HSLhsl(58, 53%, 59%)
HSVhsv(58, 54%, 80%)
CMYKcmyk(0%, 2%, 54.1%, 19.6%)
CIE-LABlab(79.36, -12.64, 53.09)
CIE-LCHlch(79.36, 54.58, 103.39°)
OKLaboklab(81.77% -0.0378 0.1239)
OKLCHoklch(81.77% 0.13 107)
XYZxyz(48.0852, 55.5620, 18.7791)
Luminance0.5556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC95E #5E62CD
analogous
#CD915E #CDC95E #99CD5E
triadic
#CDC95E #5ECDC9 #C95ECD
tetradic
#CDC95E #5ECD91 #5E62CD #CD5E99
square
#CDC95E #5ECD91 #5E62CD #CD5E99
split-complementary
#CDC95E #5E99CD #915ECD
monochromatic
#87832A #B5B138 #CDC95E #DCD98D #EAE8BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC95E#FFFFFF#000000##000000
##CDC95E1.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)
#D8C253
Deuteranopia (green-blind)
#DAC764
Tritanopia (blue-blind)
#DABEB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc95e;
/* rgb */ color: rgb(205, 201, 94);
/* oklch */ color: oklch(81.8% 0.130 107.0);
Tailwind
colors: {
  custom: {
    50: '#dfd98f',
    500: '#cdc95e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc95e;
$custom-light: #dfd98f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc95e",
  "rgb": {
    "r": 205,
    "g": 201,
    "b": 94
  },
  "hsl": {
    "h": 57.838,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81772,
    "c": 0.12953,
    "h": 107
  },
  "luminance": 0.55561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC95E

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

Preview Lab → · Contrast checker → · Palette generator →

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