#CBB03F#CBB03F

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

Color values

HEX#CBB03F
RGBrgb(203, 176, 63)
HSLhsl(48, 57%, 52%)
HSVhsv(48, 69%, 80%)
CMYKcmyk(0%, 13.3%, 69%, 20.4%)
CIE-LABlab(72.30, -2.65, 58.95)
CIE-LCHlch(72.30, 59.00, 92.58°)
OKLaboklab(76.04% -0.0127 0.1321)
OKLCHoklch(76.04% 0.133 95.5)
XYZxyz(41.0532, 44.1082, 11.0530)
Luminance0.4411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB03F #3F5ACB
analogous
#CB6A3F #CBB03F #A0CB3F
triadic
#CBB03F #3FCBB0 #B03FCB
tetradic
#CBB03F #3FCB6A #3F5ACB #CB3FA0
square
#CBB03F #3FCB6A #3F5ACB #CB3FA0
split-complementary
#CBB03F #3FA0CB #6A3FCB
monochromatic
#71611F #A18A2C #CBB03F #D8C46F #E5D89F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB03F#FFFFFF#000000##000000
##CBB03F1.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)
#C2AC30
Deuteranopia (green-blind)
#C9B545
Tritanopia (blue-blind)
#DBA399
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbb03f;
/* rgb */ color: rgb(203, 176, 63);
/* oklch */ color: oklch(76.0% 0.133 95.5);
Tailwind
colors: {
  custom: {
    50: '#dec77a',
    500: '#cbb03f',
    950: '#000000',
  },
}
SCSS
$custom: #cbb03f;
$custom-light: #dec77a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb03f",
  "rgb": {
    "r": 203,
    "g": 176,
    "b": 63
  },
  "hsl": {
    "h": 48.429,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76036,
    "c": 0.13268,
    "h": 95.5
  },
  "luminance": 0.44106
}

Semantic roles & 50–950 ramp

primary
#CBB03F
secondary
#94A0D1
accent
#65E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CBB03F

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

Preview Lab → · Contrast checker → · Palette generator →

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