#CDB949#CDB949

#CDB949 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.2% C 0.132 H 99.1°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#CDB949
RGBrgb(205, 185, 73)
HSLhsl(51, 57%, 55%)
HSVhsv(51, 64%, 80%)
CMYKcmyk(0%, 9.8%, 64.4%, 19.6%)
CIE-LABlab(74.93, -5.92, 57.55)
CIE-LCHlch(74.93, 57.85, 95.88°)
OKLaboklab(78.18% -0.021 0.1307)
OKLCHoklch(78.18% 0.132 99.1)
XYZxyz(43.7303, 48.1601, 13.2944)
Luminance0.4816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB949 #495DCD
analogous
#CD7749 #CDB949 #9FCD49
triadic
#CDB949 #49CDB9 #B949CD
tetradic
#CDB949 #49CD77 #495DCD #CD499F
square
#CDB949 #49CD77 #495DCD #CD499F
split-complementary
#CDB949 #499FCD #7749CD
monochromatic
#7A6D22 #AA972F #CDB949 #DACB79 #E7DEA9

Accessibility & contrast

On white

1.98
#CDB949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#CDB949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB949
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB949#FFFFFF#000000##000000
##CDB9491.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43B
Deuteranopia (green-blind)
#CFBC4F
Tritanopia (blue-blind)
#DCACA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb949;
/* rgb */ color: rgb(205, 185, 73);
/* oklch */ color: oklch(78.2% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#dfcd81',
    500: '#cdb949',
    950: '#000000',
  },
}
SCSS
$custom: #cdb949;
$custom-light: #dfcd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb949",
  "rgb": {
    "r": 205,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 50.909,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78184,
    "c": 0.13235,
    "h": 99.1
  },
  "luminance": 0.48158
}

Semantic roles & 50–950 ramp

primary
#CDB949
secondary
#9DA5D5
accent
#5FE048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB949

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

Preview Lab → · Contrast checker → · Palette generator →

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