Dirty Yellow#CDC50A

#CDC50A is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.4% C 0.171 H 106.7°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Dirty Yellow — editorial page

Color values

HEX#CDC50A
RGBrgb(205, 197, 10)
HSLhsl(58, 91%, 42%)
HSVhsv(58, 95%, 80%)
CMYKcmyk(0%, 3.9%, 95.1%, 19.6%)
CIE-LABlab(77.84, -14.19, 77.59)
CIE-LCHlch(77.84, 78.88, 100.37°)
OKLaboklab(80.41% -0.049 0.1635)
OKLCHoklch(80.41% 0.171 106.7)
XYZxyz(45.2000, 52.9353, 8.1237)
Luminance0.5293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC50A #0A12CD
analogous
#CD630A #CDC50A #74CD0A
triadic
#CDC50A #0ACDC5 #C50ACD
tetradic
#CDC50A #0ACD63 #0A12CD #CD0A74
square
#CDC50A #0ACD63 #0A12CD #CD0A74
split-complementary
#CDC50A #0A74CD #630ACD
monochromatic
#585504 #938D07 #CDC50A #F4EB20 #F7F15A

Accessibility & contrast

On white

1.81
#CDC50A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#CDC50A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC50A
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC50A#FFFFFF#000000##000000
##CDC50A1.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BD00
Deuteranopia (green-blind)
#DAC326
Tritanopia (blue-blind)
#DDB7A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc50a;
/* rgb */ color: rgb(205, 197, 10);
/* oklch */ color: oklch(80.4% 0.171 106.7);
Tailwind
colors: {
  custom: {
    50: '#e1d669',
    500: '#cdc50a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc50a;
$custom-light: #e1d669;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc50a",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 10
  },
  "hsl": {
    "h": 57.538,
    "s": 90.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.80409,
    "c": 0.17069,
    "h": 106.7
  },
  "luminance": 0.52934
}

Semantic roles & 50–950 ramp

primary
#CDC50A
secondary
#161A65
accent
#32FF29
background
#FFFEFB
surface
#FEFBF0
border
#D6D4CB
text
#161408
muted
#85837D

Preview Lab

Preview with #CDC50A

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

Preview Lab → · Contrast checker → · Palette generator →

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