#CDB54A#CDB54A

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

Color values

HEX#CDB54A
RGBrgb(205, 181, 74)
HSLhsl(49, 57%, 55%)
HSVhsv(49, 64%, 80%)
CMYKcmyk(0%, 11.7%, 63.9%, 19.6%)
CIE-LABlab(73.88, -3.78, 56.00)
CIE-LCHlch(73.88, 56.13, 93.86°)
OKLaboklab(77.36% -0.0147 0.1275)
OKLCHoklch(77.36% 0.128 96.6)
XYZxyz(42.9387, 46.5234, 13.1954)
Luminance0.4652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB54A #4A62CD
analogous
#CD744A #CDB54A #A3CD4A
triadic
#CDB54A #4ACDB5 #B54ACD
tetradic
#CDB54A #4ACD74 #4A62CD #CD4AA3
square
#CDB54A #4ACD74 #4A62CD #CD4AA3
split-complementary
#CDB54A #4AA3CD #744ACD
monochromatic
#7B6A22 #AB942F #CDB54A #DAC97A #E7DCAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB54A#FFFFFF#000000##000000
##CDB54A1.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)
#C6B13E
Deuteranopia (green-blind)
#CCB94F
Tritanopia (blue-blind)
#DCA89E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb54a;
/* rgb */ color: rgb(205, 181, 74);
/* oklch */ color: oklch(77.4% 0.128 96.6);
Tailwind
colors: {
  custom: {
    50: '#dfca81',
    500: '#cdb54a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb54a;
$custom-light: #dfca81;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb54a",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 74
  },
  "hsl": {
    "h": 49.008,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77361,
    "c": 0.12839,
    "h": 96.6
  },
  "luminance": 0.46521
}

Semantic roles & 50–950 ramp

primary
#CDB54A
secondary
#9EA8D5
accent
#64E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB54A

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

Preview Lab → · Contrast checker → · Palette generator →

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