#CDB041#CDB041

#CDB041 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.2% C 0.132 H 94.3°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#CDB041
RGBrgb(205, 176, 65)
HSLhsl(48, 58%, 53%)
HSVhsv(48, 68%, 80%)
CMYKcmyk(0%, 14.1%, 68.3%, 19.6%)
CIE-LABlab(72.50, -1.68, 58.39)
CIE-LCHlch(72.50, 58.41, 91.65°)
OKLaboklab(76.25% -0.0098 0.1312)
OKLCHoklch(76.25% 0.132 94.3)
XYZxyz(41.6584, 44.4137, 11.3785)
Luminance0.4441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB041 #415ECD
analogous
#CD6A41 #CDB041 #A4CD41
triadic
#CDB041 #41CDB0 #B041CD
tetradic
#CDB041 #41CD6A #415ECD #CD41A4
square
#CDB041 #41CD6A #415ECD #CD41A4
split-complementary
#CDB041 #41A4CD #6A41CD
monochromatic
#75631F #A58C2C #CDB041 #DAC471 #E6D8A2

Accessibility & contrast

On white

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

On black

9.88
#CDB041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB041
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB041#FFFFFF#000000##000000
##CDB0411.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD32
Deuteranopia (green-blind)
#C9B647
Tritanopia (blue-blind)
#DDA399
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdb041;
/* rgb */ color: rgb(205, 176, 65);
/* oklch */ color: oklch(76.2% 0.132 94.3);
Tailwind
colors: {
  custom: {
    50: '#e0c77b',
    500: '#cdb041',
    950: '#000000',
  },
}
SCSS
$custom: #cdb041;
$custom-light: #e0c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb041",
  "rgb": {
    "r": 205,
    "g": 176,
    "b": 65
  },
  "hsl": {
    "h": 47.571,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76246,
    "c": 0.13153,
    "h": 94.3
  },
  "luminance": 0.44411
}

Semantic roles & 50–950 ramp

primary
#CDB041
secondary
#97A3D3
accent
#66E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CDB041

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

Preview Lab → · Contrast checker → · Palette generator →

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