#CDB53A#CDB53A

#CDB53A is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.2% C 0.140 H 97.8°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#CDB53A
RGBrgb(205, 181, 58)
HSLhsl(50, 60%, 52%)
HSVhsv(50, 72%, 80%)
CMYKcmyk(0%, 11.7%, 71.7%, 19.6%)
CIE-LABlab(73.76, -4.66, 62.44)
CIE-LCHlch(73.76, 62.62, 94.27°)
OKLaboklab(77.23% -0.0191 0.1385)
OKLCHoklch(77.23% 0.14 97.8)
XYZxyz(42.4665, 46.3345, 10.7088)
Luminance0.4633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB53A #3A52CD
analogous
#CD6C3A #CDB53A #9CCD3A
triadic
#CDB53A #3ACDB5 #B53ACD
tetradic
#CDB53A #3ACD6C #3A52CD #CD3A9C
square
#CDB53A #3ACD6C #3A52CD #CD3A9C
split-complementary
#CDB53A #3A9CCD #6C3ACD
monochromatic
#70621C #A18D29 #CDB53A #D9C76B #E6DA9C

Accessibility & contrast

On white

2.05
#CDB53A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#CDB53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB53A
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB53A#FFFFFF#000000##000000
##CDB53A1.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B127
Deuteranopia (green-blind)
#CDB941
Tritanopia (blue-blind)
#DDA79D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb53a;
/* rgb */ color: rgb(205, 181, 58);
/* oklch */ color: oklch(77.2% 0.140 97.8);
Tailwind
colors: {
  custom: {
    50: '#e0ca78',
    500: '#cdb53a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb53a;
$custom-light: #e0ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb53a",
  "rgb": {
    "r": 205,
    "g": 181,
    "b": 58
  },
  "hsl": {
    "h": 50.204,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77226,
    "c": 0.13981,
    "h": 97.8
  },
  "luminance": 0.46332
}

Semantic roles & 50–950 ramp

primary
#CDB53A
secondary
#919CD2
accent
#5FE345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB53A

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

Preview Lab → · Contrast checker → · Palette generator →

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