#CDB43A#CDB43A

#CDB43A is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.0% C 0.139 H 97.3°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#CDB43A
RGBrgb(205, 180, 58)
HSLhsl(50, 60%, 52%)
HSVhsv(50, 72%, 80%)
CMYKcmyk(0%, 12.2%, 71.7%, 19.6%)
CIE-LABlab(73.50, -4.14, 62.19)
CIE-LCHlch(73.50, 62.32, 93.81°)
OKLaboklab(77.02% -0.0176 0.138)
OKLCHoklch(77.02% 0.139 97.3)
XYZxyz(42.2639, 45.9293, 10.6413)
Luminance0.4593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB43A #3A53CD
analogous
#CD6B3A #CDB43A #9DCD3A
triadic
#CDB43A #3ACDB4 #B43ACD
tetradic
#CDB43A #3ACD6B #3A53CD #CD3A9D
square
#CDB43A #3ACD6B #3A53CD #CD3A9D
split-complementary
#CDB43A #3A9DCD #6B3ACD
monochromatic
#70621C #A18D29 #CDB43A #D9C76B #E6D99C

Accessibility & contrast

On white

2.06
#CDB43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#CDB43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB43A
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB43A#FFFFFF#000000##000000
##CDB43A1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B027
Deuteranopia (green-blind)
#CDB841
Tritanopia (blue-blind)
#DDA69C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cdb43a;
/* rgb */ color: rgb(205, 180, 58);
/* oklch */ color: oklch(77.0% 0.139 97.3);
Tailwind
colors: {
  custom: {
    50: '#e0ca78',
    500: '#cdb43a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb43a;
$custom-light: #e0ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb43a",
  "rgb": {
    "r": 205,
    "g": 180,
    "b": 58
  },
  "hsl": {
    "h": 49.796,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77018,
    "c": 0.13908,
    "h": 97.3
  },
  "luminance": 0.45927
}

Semantic roles & 50–950 ramp

primary
#CDB43A
secondary
#919CD2
accent
#60E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB43A

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

Preview Lab → · Contrast checker → · Palette generator →

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