#CDC75E#CDC75E

#CDC75E is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.3% C 0.127 H 105.9°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CDC75E
RGBrgb(205, 199, 94)
HSLhsl(57, 53%, 59%)
HSVhsv(57, 54%, 80%)
CMYKcmyk(0%, 2.9%, 54.1%, 19.6%)
CIE-LABlab(78.83, -11.63, 52.48)
CIE-LCHlch(78.83, 53.75, 102.49°)
OKLaboklab(81.35% -0.0349 0.1226)
OKLCHoklch(81.35% 0.127 105.9)
XYZxyz(47.6220, 54.6356, 18.6247)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC75E #5E64CD
analogous
#CD8F5E #CDC75E #9BCD5E
triadic
#CDC75E #5ECDC7 #C75ECD
tetradic
#CDC75E #5ECD8F #5E64CD #CD5E9B
square
#CDC75E #5ECD8F #5E64CD #CD5E9B
split-complementary
#CDC75E #5E9BCD #8F5ECD
monochromatic
#87822A #B5AF38 #CDC75E #DCD78D #EAE7BB

Accessibility & contrast

On white

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

On black

11.93
#CDC75E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC75E
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC75E#FFFFFF#000000##000000
##CDC75E1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C054
Deuteranopia (green-blind)
#D8C563
Tritanopia (blue-blind)
#DABCB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc75e;
/* rgb */ color: rgb(205, 199, 94);
/* oklch */ color: oklch(81.3% 0.127 105.9);
Tailwind
colors: {
  custom: {
    50: '#dfd78f',
    500: '#cdc75e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc75e;
$custom-light: #dfd78f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc75e",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 94
  },
  "hsl": {
    "h": 56.757,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81348,
    "c": 0.12743,
    "h": 105.9
  },
  "luminance": 0.54634
}

Semantic roles & 50–950 ramp

primary
#CDC75E
secondary
#41468E
accent
#54DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CDC75E

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

Preview Lab → · Contrast checker → · Palette generator →

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