#CDC74A#CDC74A

#CDC74A is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.144 H 106.6°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CDC74A
RGBrgb(205, 199, 74)
HSLhsl(57, 57%, 55%)
HSVhsv(57, 64%, 80%)
CMYKcmyk(0%, 2.9%, 63.9%, 19.6%)
CIE-LABlab(78.65, -13.04, 61.07)
CIE-LCHlch(78.65, 62.44, 102.05°)
OKLaboklab(81.15% -0.0411 0.1383)
OKLCHoklch(81.15% 0.144 106.6)
XYZxyz(46.8379, 54.3219, 14.4952)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC74A #4A50CD
analogous
#CD864A #CDC74A #92CD4A
triadic
#CDC74A #4ACDC7 #C74ACD
tetradic
#CDC74A #4ACD86 #4A50CD #CD4A92
square
#CDC74A #4ACD86 #4A50CD #CD4A92
split-complementary
#CDC74A #4A92CD #864ACD
monochromatic
#7B7722 #ABA52F #CDC74A #DAD67A #E7E5AA

Accessibility & contrast

On white

1.77
#CDC74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#CDC74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC74A
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC74A#FFFFFF#000000##000000
##CDC74A1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03A
Deuteranopia (green-blind)
#DAC552
Tritanopia (blue-blind)
#DBBAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc74a;
/* rgb */ color: rgb(205, 199, 74);
/* oklch */ color: oklch(81.1% 0.144 106.6);
Tailwind
colors: {
  custom: {
    50: '#dfd782',
    500: '#cdc74a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc74a;
$custom-light: #dfd782;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc74a",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 74
  },
  "hsl": {
    "h": 57.252,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81145,
    "c": 0.14425,
    "h": 106.6
  },
  "luminance": 0.5432
}

Semantic roles & 50–950 ramp

primary
#CDC74A
secondary
#383C83
accent
#4FE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC74A

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

Preview Lab → · Contrast checker → · Palette generator →

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