#CDB54D#CDB54D

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

Color values

HEX#CDB54D
RGBrgb(205, 181, 77)
HSLhsl(49, 56%, 55%)
HSVhsv(49, 62%, 80%)
CMYKcmyk(0%, 11.7%, 62.4%, 19.6%)
CIE-LABlab(73.91, -3.58, 54.70)
CIE-LCHlch(73.91, 54.82, 93.75°)
OKLaboklab(77.39% -0.0138 0.1252)
OKLCHoklch(77.39% 0.126 96.3)
XYZxyz(43.0421, 46.5648, 13.7405)
Luminance0.4656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB54D #4D65CD
analogous
#CD754D #CDB54D #A5CD4D
triadic
#CDB54D #4DCDB5 #B54DCD
tetradic
#CDB54D #4DCD75 #4D65CD #CD4DA5
square
#CDB54D #4DCD75 #4D65CD #CD4DA5
split-complementary
#CDB54D #4DA5CD #754DCD
monochromatic
#7D6C23 #AC9530 #CDB54D #DAC97D #E8DDAD

Accessibility & contrast

On white

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

On black

10.31
#CDB54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB54D
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB54D#FFFFFF#000000##000000
##CDB54D1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B141
Deuteranopia (green-blind)
#CCB952
Tritanopia (blue-blind)
#DCA89F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb54d;
/* rgb */ color: rgb(205, 181, 77);
/* oklch */ color: oklch(77.4% 0.126 96.3);
Tailwind
colors: {
  custom: {
    50: '#dfca83',
    500: '#cdb54d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb54d;
$custom-light: #dfca83;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb54d",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 77
  },
  "hsl": {
    "h": 48.75,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77391,
    "c": 0.12597,
    "h": 96.3
  },
  "luminance": 0.46563
}

Semantic roles & 50–950 ramp

primary
#CDB54D
secondary
#A0AAD6
accent
#65DF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB54D

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

Preview Lab → · Contrast checker → · Palette generator →

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