#CDB551#CDB551

#CDB551 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.4% C 0.123 H 95.9°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#CDB551
RGBrgb(205, 181, 81)
HSLhsl(48, 55%, 56%)
HSVhsv(48, 60%, 80%)
CMYKcmyk(0%, 11.7%, 60.5%, 19.6%)
CIE-LABlab(73.95, -3.31, 52.93)
CIE-LCHlch(73.95, 53.04, 93.58°)
OKLaboklab(77.43% -0.0126 0.122)
OKLCHoklch(77.43% 0.123 95.9)
XYZxyz(43.1877, 46.6230, 14.5073)
Luminance0.4662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB551 #5169CD
analogous
#CD7751 #CDB551 #A7CD51
triadic
#CDB551 #51CDB5 #B551CD
tetradic
#CDB551 #51CD77 #5169CD #CD51A7
square
#CDB551 #51CD77 #5169CD #CD51A7
split-complementary
#CDB551 #51A7CD #7751CD
monochromatic
#7F6E25 #AF9732 #CDB551 #DBC981 #E8DDB0

Accessibility & contrast

On white

2.03
#CDB551 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#CDB551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB551
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB551#FFFFFF#000000##000000
##CDB5511.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B146
Deuteranopia (green-blind)
#CCB956
Tritanopia (blue-blind)
#DCA99F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb551;
/* rgb */ color: rgb(205, 181, 81);
/* oklch */ color: oklch(77.4% 0.123 95.9);
Tailwind
colors: {
  custom: {
    50: '#dfca85',
    500: '#cdb551',
    950: '#000000',
  },
}
SCSS
$custom: #cdb551;
$custom-light: #dfca85;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb551",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 81
  },
  "hsl": {
    "h": 48.387,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77432,
    "c": 0.12264,
    "h": 95.9
  },
  "luminance": 0.46621
}

Semantic roles & 50–950 ramp

primary
#CDB551
secondary
#A3ADD7
accent
#66DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB551

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

Preview Lab → · Contrast checker → · Palette generator →

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