#CBB03B#CBB03B

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

Color values

HEX#CBB03B
RGBrgb(203, 176, 59)
HSLhsl(49, 58%, 51%)
HSVhsv(49, 71%, 80%)
CMYKcmyk(0%, 13.3%, 70.9%, 20.4%)
CIE-LABlab(72.27, -2.86, 60.52)
CIE-LCHlch(72.27, 60.59, 92.70°)
OKLaboklab(76% -0.0137 0.1347)
OKLCHoklch(76% 0.135 95.8)
XYZxyz(40.9454, 44.0651, 10.4855)
Luminance0.4406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB03B #3B56CB
analogous
#CB683B #CBB03B #9ECB3B
triadic
#CBB03B #3BCBB0 #B03BCB
tetradic
#CBB03B #3BCB68 #3B56CB #CB3B9E
square
#CBB03B #3BCB68 #3B56CB #CB3B9E
split-complementary
#CBB03B #3B9ECB #683BCB
monochromatic
#6E5F1D #9F892A #CBB03B #D8C36B #E5D79C

Accessibility & contrast

On white

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

On black

9.81
#CBB03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB03B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB03B#FFFFFF#000000##000000
##CBB03B1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC2A
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#DBA299
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cbb03b;
/* rgb */ color: rgb(203, 176, 59);
/* oklch */ color: oklch(76.0% 0.135 95.8);
Tailwind
colors: {
  custom: {
    50: '#dfc778',
    500: '#cbb03b',
    950: '#000000',
  },
}
SCSS
$custom: #cbb03b;
$custom-light: #dfc778;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb03b",
  "rgb": {
    "r": 203,
    "g": 176,
    "b": 59
  },
  "hsl": {
    "h": 48.75,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76004,
    "c": 0.13539,
    "h": 95.8
  },
  "luminance": 0.44063
}

Semantic roles & 50–950 ramp

primary
#CBB03B
secondary
#919DD1
accent
#64E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CBB03B

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

Preview Lab → · Contrast checker → · Palette generator →

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