#CDB24A#CDB24A

#CDB24A is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.7% C 0.126 H 94.6°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#CDB24A
RGBrgb(205, 178, 74)
HSLhsl(48, 57%, 55%)
HSVhsv(48, 64%, 80%)
CMYKcmyk(0%, 13.2%, 63.9%, 19.6%)
CIE-LABlab(73.10, -2.20, 55.15)
CIE-LCHlch(73.10, 55.20, 92.29°)
OKLaboklab(76.74% -0.0102 0.1257)
OKLCHoklch(76.74% 0.126 94.6)
XYZxyz(42.3352, 45.3165, 12.9943)
Luminance0.4531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB24A #4A65CD
analogous
#CD714A #CDB24A #A6CD4A
triadic
#CDB24A #4ACDB2 #B24ACD
tetradic
#CDB24A #4ACD71 #4A65CD #CD4AA6
square
#CDB24A #4ACD71 #4A65CD #CD4AA6
split-complementary
#CDB24A #4AA6CD #714ACD
monochromatic
#7B6822 #AB912F #CDB24A #DAC67A #E7DBAA

Accessibility & contrast

On white

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

On black

10.06
#CDB24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB24A
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB24A#FFFFFF#000000##000000
##CDB24A1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdb24a;
/* rgb */ color: rgb(205, 178, 74);
/* oklch */ color: oklch(76.7% 0.126 94.6);
Tailwind
colors: {
  custom: {
    50: '#dfc881',
    500: '#cdb24a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb24a;
$custom-light: #dfc881;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb24a",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 74
  },
  "hsl": {
    "h": 47.634,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76741,
    "c": 0.12615,
    "h": 94.6
  },
  "luminance": 0.45314
}

Semantic roles & 50–950 ramp

primary
#CDB24A
secondary
#9EA9D5
accent
#67E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB24A

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

Preview Lab → · Contrast checker → · Palette generator →

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