#CDC47F#CDC47F

#CDC47F is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.090 H 101.8°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CDC47F
RGBrgb(205, 196, 127)
HSLhsl(53, 44%, 65%)
HSVhsv(53, 38%, 80%)
CMYKcmyk(0%, 4.4%, 38%, 19.6%)
CIE-LABlab(78.46, -6.91, 35.78)
CIE-LCHlch(78.46, 36.45, 100.93°)
OKLaboklab(81.19% -0.0183 0.0878)
OKLCHoklch(81.19% 0.09 101.8)
XYZxyz(48.7483, 53.9926, 27.9282)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC47F #7F88CD
analogous
#CD9D7F #CDC47F #AFCD7F
triadic
#CDC47F #7FCDC4 #C47FCD
tetradic
#CDC47F #7FCD9D #7F88CD #CD7FAF
square
#CDC47F #7FCD9D #7F88CD #CD7FAF
split-complementary
#CDC47F #7FAFCD #9D7FCD
monochromatic
#978C3B #BCB053 #CDC47F #DED8AB #EFEDD7

Accessibility & contrast

On white

1.78
#CDC47F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#CDC47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC47F
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC47F#FFFFFF#000000##000000
##CDC47F1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C07A
Deuteranopia (green-blind)
#D3C482
Tritanopia (blue-blind)
#D8BBB3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc47f;
/* rgb */ color: rgb(205, 196, 127);
/* oklch */ color: oklch(81.2% 0.090 101.8);
Tailwind
colors: {
  custom: {
    50: '#ddd5a5',
    500: '#cdc47f',
    950: '#000000',
  },
}
SCSS
$custom: #cdc47f;
$custom-light: #ddd5a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc47f",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 127
  },
  "hsl": {
    "h": 53.077,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.81188,
    "c": 0.08971,
    "h": 101.8
  },
  "luminance": 0.53991
}

Semantic roles & 50–950 ramp

primary
#CDC47F
secondary
#535C9D
accent
#3EB72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC47F

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

Preview Lab → · Contrast checker → · Palette generator →

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