#CDC277#CDC277

#CDC277 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.6% C 0.097 H 101.0°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#CDC277
RGBrgb(205, 194, 119)
HSLhsl(52, 46%, 64%)
HSVhsv(52, 42%, 80%)
CMYKcmyk(0%, 5.4%, 42%, 19.6%)
CIE-LABlab(77.81, -6.75, 39.05)
CIE-LCHlch(77.81, 39.63, 99.81°)
OKLaboklab(80.64% -0.0184 0.0949)
OKLCHoklch(80.64% 0.097 101)
XYZxyz(47.7994, 52.8960, 25.1412)
Luminance0.5290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC277 #7782CD
analogous
#CD9777 #CDC277 #ADCD77
triadic
#CDC277 #77CDC2 #C277CD
tetradic
#CDC277 #77CD97 #7782CD #CD77AD
square
#CDC277 #77CD97 #7782CD #CD77AD
split-complementary
#CDC277 #77ADCD #9777CD
monochromatic
#938736 #BDAE4A #CDC277 #DDD6A4 #EEEAD0

Accessibility & contrast

On white

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

On black

11.58
#CDC277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC277
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC277#FFFFFF#000000##000000
##CDC2771.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBE71
Deuteranopia (green-blind)
#D2C27A
Tritanopia (blue-blind)
#D9B8B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cdc277;
/* rgb */ color: rgb(205, 194, 119);
/* oklch */ color: oklch(80.6% 0.097 101.0);
Tailwind
colors: {
  custom: {
    50: '#ded49f',
    500: '#cdc277',
    950: '#000000',
  },
}
SCSS
$custom: #cdc277;
$custom-light: #ded49f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc277",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 119
  },
  "hsl": {
    "h": 52.326,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.8064,
    "c": 0.09668,
    "h": 101
  },
  "luminance": 0.52895
}

Semantic roles & 50–950 ramp

primary
#CDC277
secondary
#4F589A
accent
#3EB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CDC277

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

Preview Lab → · Contrast checker → · Palette generator →

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