#CDC75A#CDC75A

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

Color values

HEX#CDC75A
RGBrgb(205, 199, 90)
HSLhsl(57, 53%, 58%)
HSVhsv(57, 56%, 80%)
CMYKcmyk(0%, 2.9%, 56.1%, 19.6%)
CIE-LABlab(78.79, -11.94, 54.27)
CIE-LCHlch(78.79, 55.57, 102.41°)
OKLaboklab(81.3% -0.0363 0.126)
OKLCHoklch(81.3% 0.131 106.1)
XYZxyz(47.4472, 54.5656, 17.7038)
Luminance0.5456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC75A #5A60CD
analogous
#CD8E5A #CDC75A #99CD5A
triadic
#CDC75A #5ACDC7 #C75ACD
tetradic
#CDC75A #5ACD8E #5A60CD #CD5A99
square
#CDC75A #5ACD8E #5A60CD #CD5A99
split-complementary
#CDC75A #5A99CD #8E5ACD
monochromatic
#848028 #B3AD36 #CDC75A #DBD789 #E9E7B8

Accessibility & contrast

On white

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

On black

11.91
#CDC75A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC75A
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC75A#FFFFFF#000000##000000
##CDC75A1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04F
Deuteranopia (green-blind)
#D9C560
Tritanopia (blue-blind)
#DABBAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc75a;
/* rgb */ color: rgb(205, 199, 90);
/* oklch */ color: oklch(81.3% 0.131 106.1);
Tailwind
colors: {
  custom: {
    50: '#dfd78c',
    500: '#cdc75a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc75a;
$custom-light: #dfd78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc75a",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 90
  },
  "hsl": {
    "h": 56.87,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81303,
    "c": 0.13108,
    "h": 106.1
  },
  "luminance": 0.54564
}

Semantic roles & 50–950 ramp

primary
#CDC75A
secondary
#40448C
accent
#53DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CDC75A

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

Preview Lab → · Contrast checker → · Palette generator →

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