#CBC73C#CBC73C

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

Color values

HEX#CBC73C
RGBrgb(203, 199, 60)
HSLhsl(58, 58%, 52%)
HSVhsv(58, 70%, 80%)
CMYKcmyk(0%, 2%, 70.4%, 20.4%)
CIE-LABlab(78.39, -14.65, 66.17)
CIE-LCHlch(78.39, 67.77, 102.48°)
OKLaboklab(80.86% -0.047 0.1468)
OKLCHoklch(80.86% 0.154 107.7)
XYZxyz(45.8694, 53.8711, 12.2560)
Luminance0.5387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC73C #3C40CB
analogous
#CB803C #CBC73C #88CB3C
triadic
#CBC73C #3CCBC7 #C73CCB
tetradic
#CBC73C #3CCB80 #3C40CB #CB3C88
square
#CBC73C #3CCB80 #3C40CB #CB3C88
split-complementary
#CBC73C #3C88CB #803CCB
monochromatic
#6F6D1E #9F9C2A #CBC73C #D8D56C #E5E39D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC73C#FFFFFF#000000##000000
##CBC73C1.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)
#D7BF24
Deuteranopia (green-blind)
#DAC446
Tritanopia (blue-blind)
#DABAAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc73c;
/* rgb */ color: rgb(203, 199, 60);
/* oklch */ color: oklch(80.9% 0.154 107.7);
Tailwind
colors: {
  custom: {
    50: '#ded77b',
    500: '#cbc73c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc73c;
$custom-light: #ded77b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc73c",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 60
  },
  "hsl": {
    "h": 58.322,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80865,
    "c": 0.15414,
    "h": 107.7
  },
  "luminance": 0.5387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC73C

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

Preview Lab → · Contrast checker → · Palette generator →

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