#CBC03C#CBC03C

#CBC03C is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.4% C 0.148 H 104.5°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#CBC03C
RGBrgb(203, 192, 60)
HSLhsl(55, 58%, 52%)
HSVhsv(55, 70%, 80%)
CMYKcmyk(0%, 5.4%, 70.4%, 20.4%)
CIE-LABlab(76.51, -11.10, 64.33)
CIE-LCHlch(76.51, 65.28, 99.79°)
OKLaboklab(79.37% -0.037 0.1429)
OKLCHoklch(79.37% 0.148 104.5)
XYZxyz(44.2957, 50.7237, 11.7315)
Luminance0.5072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC03C #3C47CB
analogous
#CB793C #CBC03C #8ECB3C
triadic
#CBC03C #3CCBC0 #C03CCB
tetradic
#CBC03C #3CCB79 #3C47CB #CB3C8E
square
#CBC03C #3CCB79 #3C47CB #CB3C8E
split-complementary
#CBC03C #3C8ECB #793CCB
monochromatic
#6F691E #9F962A #CBC03C #D8D06C #E5DF9D

Accessibility & contrast

On white

1.88
#CBC03C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#CBC03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC03C
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC03C#FFFFFF#000000##000000
##CBC03C1.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B927
Deuteranopia (green-blind)
#D5BF45
Tritanopia (blue-blind)
#DAB3A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc03c;
/* rgb */ color: rgb(203, 192, 60);
/* oklch */ color: oklch(79.4% 0.148 104.5);
Tailwind
colors: {
  custom: {
    50: '#ded27a',
    500: '#cbc03c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc03c;
$custom-light: #ded27a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc03c",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 60
  },
  "hsl": {
    "h": 55.385,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79371,
    "c": 0.14764,
    "h": 104.5
  },
  "luminance": 0.50722
}

Semantic roles & 50–950 ramp

primary
#CBC03C
secondary
#333878
accent
#53E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC03C

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

Preview Lab → · Contrast checker → · Palette generator →

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