#CDB549#CDB549

#CDB549 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.4% C 0.129 H 96.7°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#CDB549
RGBrgb(205, 181, 73)
HSLhsl(49, 57%, 55%)
HSVhsv(49, 64%, 80%)
CMYKcmyk(0%, 11.7%, 64.4%, 19.6%)
CIE-LABlab(73.88, -3.84, 56.43)
CIE-LCHlch(73.88, 56.56, 93.89°)
OKLaboklab(77.35% -0.015 0.1283)
OKLCHoklch(77.35% 0.129 96.7)
XYZxyz(42.9052, 46.5100, 13.0194)
Luminance0.4651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB549 #4961CD
analogous
#CD7349 #CDB549 #A3CD49
triadic
#CDB549 #49CDB5 #B549CD
tetradic
#CDB549 #49CD73 #4961CD #CD49A3
square
#CDB549 #49CD73 #4961CD #CD49A3
split-complementary
#CDB549 #49A3CD #7349CD
monochromatic
#7A6A22 #AA942F #CDB549 #DAC979 #E7DCA9

Accessibility & contrast

On white

2.04
#CDB549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#CDB549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB549
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB549#FFFFFF#000000##000000
##CDB5491.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13C
Deuteranopia (green-blind)
#CCB94E
Tritanopia (blue-blind)
#DCA89E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb549;
/* rgb */ color: rgb(205, 181, 73);
/* oklch */ color: oklch(77.4% 0.129 96.7);
Tailwind
colors: {
  custom: {
    50: '#dfca81',
    500: '#cdb549',
    950: '#000000',
  },
}
SCSS
$custom: #cdb549;
$custom-light: #dfca81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb549",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 73
  },
  "hsl": {
    "h": 49.091,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77351,
    "c": 0.12917,
    "h": 96.7
  },
  "luminance": 0.46508
}

Semantic roles & 50–950 ramp

primary
#CDB549
secondary
#9DA7D5
accent
#63E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB549

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

Preview Lab → · Contrast checker → · Palette generator →

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