#CDB24D#CDB24D

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

Color values

HEX#CDB24D
RGBrgb(205, 178, 77)
HSLhsl(47, 56%, 55%)
HSVhsv(47, 62%, 80%)
CMYKcmyk(0%, 13.2%, 62.4%, 19.6%)
CIE-LABlab(73.13, -2.01, 53.84)
CIE-LCHlch(73.13, 53.88, 92.14°)
OKLaboklab(76.77% -0.0093 0.1234)
OKLCHoklch(76.77% 0.124 94.3)
XYZxyz(42.4387, 45.3579, 13.5393)
Luminance0.4536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB24D #4D68CD
analogous
#CD724D #CDB24D #A8CD4D
triadic
#CDB24D #4DCDB2 #B24DCD
tetradic
#CDB24D #4DCD72 #4D68CD #CD4DA8
square
#CDB24D #4DCD72 #4D68CD #CD4DA8
split-complementary
#CDB24D #4DA8CD #724DCD
monochromatic
#7D6A23 #AC9230 #CDB24D #DAC77D #E8DBAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB24D#FFFFFF#000000##000000
##CDB24D1.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)
#C3AF42
Deuteranopia (green-blind)
#CAB752
Tritanopia (blue-blind)
#DCA59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb24d;
/* rgb */ color: rgb(205, 178, 77);
/* oklch */ color: oklch(76.8% 0.124 94.3);
Tailwind
colors: {
  custom: {
    50: '#dfc883',
    500: '#cdb24d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb24d;
$custom-light: #dfc883;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb24d",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 77
  },
  "hsl": {
    "h": 47.344,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76771,
    "c": 0.12373,
    "h": 94.3
  },
  "luminance": 0.45356
}

Semantic roles & 50–950 ramp

primary
#CDB24D
secondary
#A0ABD6
accent
#68DF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB24D

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

Preview Lab → · Contrast checker → · Palette generator →

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