#CBC73B#CBC73B

#CBC73B is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.9% C 0.155 H 107.8°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CBC73B
RGBrgb(203, 199, 59)
HSLhsl(58, 58%, 51%)
HSVhsv(58, 71%, 80%)
CMYKcmyk(0%, 2%, 70.9%, 20.4%)
CIE-LABlab(78.38, -14.70, 66.52)
CIE-LCHlch(78.38, 68.13, 102.46°)
OKLaboklab(80.86% -0.0472 0.1474)
OKLCHoklch(80.86% 0.155 107.8)
XYZxyz(45.8432, 53.8606, 12.1181)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC73B #3B3FCB
analogous
#CB7F3B #CBC73B #87CB3B
triadic
#CBC73B #3BCBC7 #C73BCB
tetradic
#CBC73B #3BCB7F #3B3FCB #CB3B87
square
#CBC73B #3BCB7F #3B3FCB #CB3B87
split-complementary
#CBC73B #3B87CB #7F3BCB
monochromatic
#6E6C1D #9F9B2A #CBC73B #D8D56B #E5E39C

Accessibility & contrast

On white

1.78
#CBC73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#CBC73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC73B
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC73B#FFFFFF#000000##000000
##CBC73B1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF22
Deuteranopia (green-blind)
#DAC445
Tritanopia (blue-blind)
#DABAAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc73b;
/* rgb */ color: rgb(203, 199, 59);
/* oklch */ color: oklch(80.9% 0.155 107.8);
Tailwind
colors: {
  custom: {
    50: '#ded77a',
    500: '#cbc73b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc73b;
$custom-light: #ded77a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc73b",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 59
  },
  "hsl": {
    "h": 58.333,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.80858,
    "c": 0.15476,
    "h": 107.8
  },
  "luminance": 0.53859
}

Semantic roles & 50–950 ramp

primary
#CBC73B
secondary
#333478
accent
#4BE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC73B

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

Preview Lab → · Contrast checker → · Palette generator →

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