#CDB24B#CDB24B

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

Color values

HEX#CDB24B
RGBrgb(205, 178, 75)
HSLhsl(48, 57%, 55%)
HSVhsv(48, 63%, 80%)
CMYKcmyk(0%, 13.2%, 63.4%, 19.6%)
CIE-LABlab(73.11, -2.14, 54.72)
CIE-LCHlch(73.11, 54.76, 92.24°)
OKLaboklab(76.75% -0.0099 0.125)
OKLCHoklch(76.75% 0.125 94.5)
XYZxyz(42.3692, 45.3301, 13.1731)
Luminance0.4533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB24B #4B66CD
analogous
#CD714B #CDB24B #A7CD4B
triadic
#CDB24B #4BCDB2 #B24BCD
tetradic
#CDB24B #4BCD71 #4B66CD #CD4BA7
square
#CDB24B #4BCD71 #4B66CD #CD4BA7
split-complementary
#CDB24B #4BA7CD #714BCD
monochromatic
#7B6922 #AB9230 #CDB24B #DAC67B #E8DBAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB24B#FFFFFF#000000##000000
##CDB24B1.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)
#C3AF3F
Deuteranopia (green-blind)
#CAB750
Tritanopia (blue-blind)
#DDA59C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cdb24b;
/* rgb */ color: rgb(205, 178, 75);
/* oklch */ color: oklch(76.8% 0.125 94.5);
Tailwind
colors: {
  custom: {
    50: '#dfc882',
    500: '#cdb24b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb24b;
$custom-light: #dfc882;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb24b",
  "rgb": {
    "r": 205,
    "g": 178,
    "b": 75
  },
  "hsl": {
    "h": 47.538,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76751,
    "c": 0.12535,
    "h": 94.5
  },
  "luminance": 0.45328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB24B

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

Preview Lab → · Contrast checker → · Palette generator →

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