#CDB849#CDB849

#CDB849 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.0% C 0.132 H 98.5°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#CDB849
RGBrgb(205, 184, 73)
HSLhsl(50, 57%, 55%)
HSVhsv(50, 64%, 80%)
CMYKcmyk(0%, 10.2%, 64.4%, 19.6%)
CIE-LABlab(74.66, -5.40, 57.27)
CIE-LCHlch(74.66, 57.52, 95.39°)
OKLaboklab(77.98% -0.0195 0.1301)
OKLCHoklch(77.98% 0.132 98.5)
XYZxyz(43.5218, 47.7431, 13.2249)
Luminance0.4774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB849 #495ECD
analogous
#CD7649 #CDB849 #A0CD49
triadic
#CDB849 #49CDB8 #B849CD
tetradic
#CDB849 #49CD76 #495ECD #CD49A0
square
#CDB849 #49CD76 #495ECD #CD49A0
split-complementary
#CDB849 #49A0CD #7649CD
monochromatic
#7A6C22 #AA962F #CDB849 #DACB79 #E7DDA9

Accessibility & contrast

On white

1.99
#CDB849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#CDB849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB849
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB849#FFFFFF#000000##000000
##CDB8491.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B33C
Deuteranopia (green-blind)
#CFBB4F
Tritanopia (blue-blind)
#DCABA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdb849;
/* rgb */ color: rgb(205, 184, 73);
/* oklch */ color: oklch(78.0% 0.132 98.5);
Tailwind
colors: {
  custom: {
    50: '#dfcd81',
    500: '#cdb849',
    950: '#000000',
  },
}
SCSS
$custom: #cdb849;
$custom-light: #dfcd81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb849",
  "rgb": {
    "r": 205,
    "g": 184,
    "b": 73
  },
  "hsl": {
    "h": 50.455,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77975,
    "c": 0.13154,
    "h": 98.5
  },
  "luminance": 0.47741
}

Semantic roles & 50–950 ramp

primary
#CDB849
secondary
#9DA6D5
accent
#60E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB849

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

Preview Lab → · Contrast checker → · Palette generator →

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