#CDC75F#CDC75F

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

Color values

HEX#CDC75F
RGBrgb(205, 199, 95)
HSLhsl(57, 52%, 59%)
HSVhsv(57, 54%, 80%)
CMYKcmyk(0%, 2.9%, 53.7%, 19.6%)
CIE-LABlab(78.84, -11.55, 52.03)
CIE-LCHlch(78.84, 53.29, 102.52°)
OKLaboklab(81.36% -0.0346 0.1217)
OKLCHoklch(81.36% 0.127 105.9)
XYZxyz(47.6672, 54.6536, 18.8625)
Luminance0.5465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC75F #5F65CD
analogous
#CD905F #CDC75F #9CCD5F
triadic
#CDC75F #5FCDC7 #C75FCD
tetradic
#CDC75F #5FCD90 #5F65CD #CD5F9C
square
#CDC75F #5FCD90 #5F65CD #CD5F9C
split-complementary
#CDC75F #5F9CCD #905FCD
monochromatic
#87822A #B6AF39 #CDC75F #DCD78E #EAE8BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC75F#FFFFFF#000000##000000
##CDC75F1.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)
#D6C155
Deuteranopia (green-blind)
#D8C564
Tritanopia (blue-blind)
#DABCB0
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc75f;
/* rgb */ color: rgb(205, 199, 95);
/* oklch */ color: oklch(81.4% 0.127 105.9);
Tailwind
colors: {
  custom: {
    50: '#ded78f',
    500: '#cdc75f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc75f;
$custom-light: #ded78f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc75f",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 95
  },
  "hsl": {
    "h": 56.727,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8136,
    "c": 0.1265,
    "h": 105.9
  },
  "luminance": 0.54652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC75F

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

Preview Lab → · Contrast checker → · Palette generator →

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