#CDC54A#CDC54A

#CDC54A is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.7% C 0.142 H 105.6°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#CDC54A
RGBrgb(205, 197, 74)
HSLhsl(56, 57%, 55%)
HSVhsv(56, 64%, 80%)
CMYKcmyk(0%, 3.9%, 63.9%, 19.6%)
CIE-LABlab(78.12, -12.02, 60.50)
CIE-LCHlch(78.12, 61.69, 101.24°)
OKLaboklab(80.72% -0.0382 0.1371)
OKLCHoklch(80.72% 0.142 105.6)
XYZxyz(46.3808, 53.4077, 14.3428)
Luminance0.5341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC54A #4A52CD
analogous
#CD844A #CDC54A #94CD4A
triadic
#CDC54A #4ACDC5 #C54ACD
tetradic
#CDC54A #4ACD84 #4A52CD #CD4A94
square
#CDC54A #4ACD84 #4A52CD #CD4A94
split-complementary
#CDC54A #4A94CD #844ACD
monochromatic
#7B7522 #ABA32F #CDC54A #DAD47A #E7E4AA

Accessibility & contrast

On white

1.80
#CDC54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#CDC54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC54A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC54A#FFFFFF#000000##000000
##CDC54A1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3A
Deuteranopia (green-blind)
#D8C451
Tritanopia (blue-blind)
#DBB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc54a;
/* rgb */ color: rgb(205, 197, 74);
/* oklch */ color: oklch(80.7% 0.142 105.6);
Tailwind
colors: {
  custom: {
    50: '#dfd682',
    500: '#cdc54a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc54a;
$custom-light: #dfd682;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc54a",
  "rgb": {
    "r": 205,
    "g": 197,
    "b": 74
  },
  "hsl": {
    "h": 56.336,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.8072,
    "c": 0.14232,
    "h": 105.6
  },
  "luminance": 0.53406
}

Semantic roles & 50–950 ramp

primary
#CDC54A
secondary
#383D83
accent
#51E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC54A

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

Preview Lab → · Contrast checker → · Palette generator →

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