#CDB04B#CDB04B

#CDB04B is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.124 H 93.2°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#CDB04B
RGBrgb(205, 176, 75)
HSLhsl(47, 57%, 55%)
HSVhsv(47, 63%, 80%)
CMYKcmyk(0%, 14.1%, 63.4%, 19.6%)
CIE-LABlab(72.59, -1.08, 54.15)
CIE-LCHlch(72.59, 54.16, 91.15°)
OKLaboklab(76.34% -0.0069 0.1238)
OKLCHoklch(76.34% 0.124 93.2)
XYZxyz(41.9741, 44.5400, 13.0414)
Luminance0.4454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB04B #4B68CD
analogous
#CD6F4B #CDB04B #A9CD4B
triadic
#CDB04B #4BCDB0 #B04BCD
tetradic
#CDB04B #4BCD6F #4B68CD #CD4BA9
square
#CDB04B #4BCD6F #4B68CD #CD4BA9
split-complementary
#CDB04B #4BA9CD #6F4BCD
monochromatic
#7B6722 #AB9030 #CDB04B #DAC57B #E8DAAB

Accessibility & contrast

On white

2.12
#CDB04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#CDB04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB04B
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB04B#FFFFFF#000000##000000
##CDB04B1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD40
Deuteranopia (green-blind)
#C9B650
Tritanopia (blue-blind)
#DDA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdb04b;
/* rgb */ color: rgb(205, 176, 75);
/* oklch */ color: oklch(76.3% 0.124 93.2);
Tailwind
colors: {
  custom: {
    50: '#dfc781',
    500: '#cdb04b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb04b;
$custom-light: #dfc781;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb04b",
  "rgb": {
    "r": 205,
    "g": 176,
    "b": 75
  },
  "hsl": {
    "h": 46.615,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.76339,
    "c": 0.12395,
    "h": 93.2
  },
  "luminance": 0.44538
}

Semantic roles & 50–950 ramp

primary
#CDB04B
secondary
#9FABD5
accent
#6AE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB04B

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

Preview Lab → · Contrast checker → · Palette generator →

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