#CDC377#CDC377

#CDC377 is a light, moderate yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.098 H 101.8°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CDC377
RGBrgb(205, 195, 119)
HSLhsl(53, 46%, 64%)
HSVhsv(53, 42%, 80%)
CMYKcmyk(0%, 4.9%, 42%, 19.6%)
CIE-LABlab(78.08, -7.27, 39.38)
CIE-LCHlch(78.08, 40.05, 100.46°)
OKLaboklab(80.85% -0.0199 0.0957)
OKLCHoklch(80.85% 0.098 101.8)
XYZxyz(48.0227, 53.3426, 25.2157)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC377 #7781CD
analogous
#CD9877 #CDC377 #ACCD77
triadic
#CDC377 #77CDC3 #C377CD
tetradic
#CDC377 #77CD98 #7781CD #CD77AC
square
#CDC377 #77CD98 #7781CD #CD77AC
split-complementary
#CDC377 #77ACCD #9877CD
monochromatic
#938936 #BDAF4A #CDC377 #DDD7A4 #EEEAD0

Accessibility & contrast

On white

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

On black

11.67
#CDC377 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC377
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC377#FFFFFF#000000##000000
##CDC3771.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE71
Deuteranopia (green-blind)
#D3C37A
Tritanopia (blue-blind)
#D9B9B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cdc377;
/* rgb */ color: rgb(205, 195, 119);
/* oklch */ color: oklch(80.8% 0.098 101.8);
Tailwind
colors: {
  custom: {
    50: '#ded59f',
    500: '#cdc377',
    950: '#000000',
  },
}
SCSS
$custom: #cdc377;
$custom-light: #ded59f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc377",
  "rgb": {
    "r": 205,
    "g": 195,
    "b": 119
  },
  "hsl": {
    "h": 53.023,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.80848,
    "c": 0.09771,
    "h": 101.8
  },
  "luminance": 0.53341
}

Semantic roles & 50–950 ramp

primary
#CDC377
secondary
#4F579A
accent
#3CB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC377

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

Preview Lab → · Contrast checker → · Palette generator →

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