#CDB24C#CDB24C

#CDB24C is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.8% C 0.125 H 94.4°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#CDB24C
RGBrgb(205, 178, 76)
HSLhsl(47, 56%, 55%)
HSVhsv(47, 63%, 80%)
CMYKcmyk(0%, 13.2%, 62.9%, 19.6%)
CIE-LABlab(73.12, -2.07, 54.28)
CIE-LCHlch(73.12, 54.32, 92.19°)
OKLaboklab(76.76% -0.0096 0.1242)
OKLCHoklch(76.76% 0.125 94.4)
XYZxyz(42.4037, 45.3439, 13.3548)
Luminance0.4534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB24C #4C67CD
analogous
#CD724C #CDB24C #A7CD4C
triadic
#CDB24C #4CCDB2 #B24CCD
tetradic
#CDB24C #4CCD72 #4C67CD #CD4CA7
square
#CDB24C #4CCD72 #4C67CD #CD4CA7
split-complementary
#CDB24C #4CA7CD #724CCD
monochromatic
#7C6923 #AC9230 #CDB24C #DAC77C #E8DBAC

Accessibility & contrast

On white

2.09
#CDB24C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#CDB24C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB24C
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB24C#FFFFFF#000000##000000
##CDB24C1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF41
Deuteranopia (green-blind)
#CAB751
Tritanopia (blue-blind)
#DDA59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb24c;
/* rgb */ color: rgb(205, 178, 76);
/* oklch */ color: oklch(76.8% 0.125 94.4);
Tailwind
colors: {
  custom: {
    50: '#dfc882',
    500: '#cdb24c',
    950: '#000000',
  },
}
SCSS
$custom: #cdb24c;
$custom-light: #dfc882;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb24c",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 76
  },
  "hsl": {
    "h": 47.442,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76761,
    "c": 0.12455,
    "h": 94.4
  },
  "luminance": 0.45342
}

Semantic roles & 50–950 ramp

primary
#CDB24C
secondary
#9FABD5
accent
#68E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB24C

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

Preview Lab → · Contrast checker → · Palette generator →

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