#CDB03B#CDB03B

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

Color values

HEX#CDB03B
RGBrgb(205, 176, 59)
HSLhsl(48, 59%, 52%)
HSVhsv(48, 71%, 80%)
CMYKcmyk(0%, 14.1%, 71.2%, 19.6%)
CIE-LABlab(72.46, -1.99, 60.77)
CIE-LCHlch(72.46, 60.80, 91.88°)
OKLaboklab(76.2% -0.0114 0.1351)
OKLCHoklch(76.2% 0.136 94.8)
XYZxyz(41.4937, 44.3478, 10.5112)
Luminance0.4435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB03B #3B58CD
analogous
#CD673B #CDB03B #A1CD3B
triadic
#CDB03B #3BCDB0 #B03BCD
tetradic
#CDB03B #3BCD67 #3B58CD #CD3BA1
square
#CDB03B #3BCD67 #3B58CD #CD3BA1
split-complementary
#CDB03B #3BA1CD #673BCD
monochromatic
#71601D #A28A29 #CDB03B #D9C46C #E6D79D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDB03B#FFFFFF#000000##000000
##CDB03B1.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)
#C2AD2A
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#DDA299
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdb03b;
/* rgb */ color: rgb(205, 176, 59);
/* oklch */ color: oklch(76.2% 0.136 94.8);
Tailwind
colors: {
  custom: {
    50: '#e0c778',
    500: '#cdb03b',
    950: '#000000',
  },
}
SCSS
$custom: #cdb03b;
$custom-light: #e0c778;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb03b",
  "rgb": {
    "r": 205,
    "g": 176,
    "b": 59
  },
  "hsl": {
    "h": 48.082,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76197,
    "c": 0.13562,
    "h": 94.8
  },
  "luminance": 0.44346
}

Semantic roles & 50–950 ramp

primary
#CDB03B
secondary
#929FD2
accent
#65E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CDB03B

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

Preview Lab → · Contrast checker → · Palette generator →

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