#CDB54B#CDB54B

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

Color values

HEX#CDB54B
RGBrgb(205, 181, 75)
HSLhsl(49, 57%, 55%)
HSVhsv(49, 63%, 80%)
CMYKcmyk(0%, 11.7%, 63.4%, 19.6%)
CIE-LABlab(73.89, -3.71, 55.57)
CIE-LCHlch(73.89, 55.69, 93.82°)
OKLaboklab(77.37% -0.0144 0.1268)
OKLCHoklch(77.37% 0.128 96.5)
XYZxyz(42.9726, 46.5369, 13.3743)
Luminance0.4653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB54B #4B63CD
analogous
#CD744B #CDB54B #A4CD4B
triadic
#CDB54B #4BCDB5 #B54BCD
tetradic
#CDB54B #4BCD74 #4B63CD #CD4BA4
square
#CDB54B #4BCD74 #4B63CD #CD4BA4
split-complementary
#CDB54B #4BA4CD #744BCD
monochromatic
#7B6B22 #AB9430 #CDB54B #DAC97B #E8DCAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB54B#FFFFFF#000000##000000
##CDB54B1.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)
#C6B13F
Deuteranopia (green-blind)
#CCB950
Tritanopia (blue-blind)
#DCA89E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb54b;
/* rgb */ color: rgb(205, 181, 75);
/* oklch */ color: oklch(77.4% 0.128 96.5);
Tailwind
colors: {
  custom: {
    50: '#dfca82',
    500: '#cdb54b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb54b;
$custom-light: #dfca82;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb54b",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 75
  },
  "hsl": {
    "h": 48.923,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77371,
    "c": 0.12759,
    "h": 96.5
  },
  "luminance": 0.46535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDB54B

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

Preview Lab → · Contrast checker → · Palette generator →

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