#CDC477#CDC477

#CDC477 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.099 H 102.5°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#CDC477
RGBrgb(205, 196, 119)
HSLhsl(54, 46%, 64%)
HSVhsv(54, 42%, 80%)
CMYKcmyk(0%, 4.4%, 42%, 19.6%)
CIE-LABlab(78.34, -7.78, 39.72)
CIE-LCHlch(78.34, 40.47, 101.09°)
OKLaboklab(81.06% -0.0214 0.0964)
OKLCHoklch(81.06% 0.099 102.5)
XYZxyz(48.2475, 53.7923, 25.2906)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC477 #7780CD
analogous
#CD9977 #CDC477 #ABCD77
triadic
#CDC477 #77CDC4 #C477CD
tetradic
#CDC477 #77CD99 #7780CD #CD77AB
square
#CDC477 #77CD99 #7780CD #CD77AB
split-complementary
#CDC477 #77ABCD #9977CD
monochromatic
#938A36 #BDB14A #CDC477 #DDD7A4 #EEEBD0

Accessibility & contrast

On white

1.79
#CDC477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#CDC477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC477
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC477#FFFFFF#000000##000000
##CDC4771.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF71
Deuteranopia (green-blind)
#D4C47A
Tritanopia (blue-blind)
#D9BAB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc477;
/* rgb */ color: rgb(205, 196, 119);
/* oklch */ color: oklch(81.1% 0.099 102.5);
Tailwind
colors: {
  custom: {
    50: '#ded59f',
    500: '#cdc477',
    950: '#000000',
  },
}
SCSS
$custom: #cdc477;
$custom-light: #ded59f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc477",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 119
  },
  "hsl": {
    "h": 53.721,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.81057,
    "c": 0.09876,
    "h": 102.5
  },
  "luminance": 0.53791
}

Semantic roles & 50–950 ramp

primary
#CDC477
secondary
#4F569A
accent
#3BB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC477

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

Preview Lab → · Contrast checker → · Palette generator →

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