#CDB03A#CDB03A

#CDB03A is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.136 H 94.9°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#CDB03A
RGBrgb(205, 176, 58)
HSLhsl(48, 60%, 52%)
HSVhsv(48, 72%, 80%)
CMYKcmyk(0%, 14.1%, 71.7%, 19.6%)
CIE-LABlab(72.45, -2.04, 61.15)
CIE-LCHlch(72.45, 61.19, 91.91°)
OKLaboklab(76.19% -0.0116 0.1358)
OKLCHoklch(76.19% 0.136 94.9)
XYZxyz(41.4680, 44.3376, 10.3760)
Luminance0.4434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB03A #3A57CD
analogous
#CD673A #CDB03A #A1CD3A
triadic
#CDB03A #3ACDB0 #B03ACD
tetradic
#CDB03A #3ACD67 #3A57CD #CD3AA1
square
#CDB03A #3ACD67 #3A57CD #CD3AA1
split-complementary
#CDB03A #3AA1CD #673ACD
monochromatic
#70601C #A18929 #CDB03A #D9C46B #E6D79C

Accessibility & contrast

On white

2.13
#CDB03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#CDB03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB03A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB03A#FFFFFF#000000##000000
##CDB03A1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD28
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#DDA298
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdb03a;
/* rgb */ color: rgb(205, 176, 58);
/* oklch */ color: oklch(76.2% 0.136 94.9);
Tailwind
colors: {
  custom: {
    50: '#e0c777',
    500: '#cdb03a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb03a;
$custom-light: #e0c777;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb03a",
  "rgb": {
    "r": 205,
    "g": 176,
    "b": 58
  },
  "hsl": {
    "h": 48.163,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7619,
    "c": 0.13627,
    "h": 94.9
  },
  "luminance": 0.44335
}

Semantic roles & 50–950 ramp

primary
#CDB03A
secondary
#919ED2
accent
#64E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB03A

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

Preview Lab → · Contrast checker → · Palette generator →

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