#CDC75B#CDC75B

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

Color values

HEX#CDC75B
RGBrgb(205, 199, 91)
HSLhsl(57, 53%, 58%)
HSVhsv(57, 56%, 80%)
CMYKcmyk(0%, 2.9%, 55.6%, 19.6%)
CIE-LABlab(78.80, -11.87, 53.83)
CIE-LCHlch(78.80, 55.12, 102.43°)
OKLaboklab(81.31% -0.0359 0.1251)
OKLCHoklch(81.31% 0.13 106)
XYZxyz(47.4900, 54.5828, 17.9294)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC75B #5B61CD
analogous
#CD8E5B #CDC75B #9ACD5B
triadic
#CDC75B #5BCDC7 #C75BCD
tetradic
#CDC75B #5BCD8E #5B61CD #CD5B9A
square
#CDC75B #5BCD8E #5B61CD #CD5B9A
split-complementary
#CDC75B #5B9ACD #8E5BCD
monochromatic
#858029 #B4AD37 #CDC75B #DBD78A #EAE7B9

Accessibility & contrast

On white

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

On black

11.92
#CDC75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC75B
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC75B#FFFFFF#000000##000000
##CDC75B1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdc75b;
/* rgb */ color: rgb(205, 199, 91);
/* oklch */ color: oklch(81.3% 0.130 106.0);
Tailwind
colors: {
  custom: {
    50: '#dfd78d',
    500: '#cdc75b',
    950: '#000000',
  },
}
SCSS
$custom: #cdc75b;
$custom-light: #dfd78d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc75b",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 91
  },
  "hsl": {
    "h": 56.842,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81314,
    "c": 0.13018,
    "h": 106
  },
  "luminance": 0.54581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDC75B

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

Preview Lab → · Contrast checker → · Palette generator →

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