#CDB016#CDB016

#CDB016 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.0% C 0.153 H 96.8°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#CDB016
RGBrgb(205, 176, 22)
HSLhsl(50, 81%, 45%)
HSVhsv(50, 89%, 80%)
CMYKcmyk(0%, 14.1%, 89.3%, 19.6%)
CIE-LABlab(72.29, -3.23, 71.66)
CIE-LCHlch(72.29, 71.73, 92.58°)
OKLaboklab(76.01% -0.018 0.1516)
OKLCHoklch(76.01% 0.153 96.8)
XYZxyz(40.8493, 44.0901, 7.1175)
Luminance0.4409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB016 #1633CD
analogous
#CD5516 #CDB016 #8FCD16
triadic
#CDB016 #16CDB0 #B016CD
tetradic
#CDB016 #16CD55 #1633CD #CD168F
square
#CDB016 #16CD55 #1633CD #CD168F
split-complementary
#CDB016 #168FCD #5516CD
monochromatic
#5E510A #968110 #CDB016 #EACD37 #EFDB6E

Accessibility & contrast

On white

2.14
#CDB016 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#CDB016 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB016
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB016#FFFFFF#000000##000000
##CDB0161.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#CBB526
Tritanopia (blue-blind)
#DEA196
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cdb016;
/* rgb */ color: rgb(205, 176, 22);
/* oklch */ color: oklch(76.0% 0.153 96.8);
Tailwind
colors: {
  custom: {
    50: '#e1c768',
    500: '#cdb016',
    950: '#000000',
  },
}
SCSS
$custom: #cdb016;
$custom-light: #e1c768;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb016",
  "rgb": {
    "r": 205,
    "g": 176,
    "b": 22
  },
  "hsl": {
    "h": 50.492,
    "s": 80.617,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76007,
    "c": 0.15263,
    "h": 96.8
  },
  "luminance": 0.44088
}

Semantic roles & 50–950 ramp

primary
#CDB016
secondary
#697BD5
accent
#50F731
background
#FEFCF6
surface
#FDF8EC
border
#D5D1C7
text
#161307
muted
#84827A

Preview Lab

Preview with #CDB016

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

Preview Lab → · Contrast checker → · Palette generator →

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