#CBC03B#CBC03B

#CBC03B 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#CBC03B
RGBrgb(203, 192, 59)
HSLhsl(55, 58%, 51%)
HSVhsv(55, 71%, 80%)
CMYKcmyk(0%, 5.4%, 70.9%, 20.4%)
CIE-LABlab(76.50, -11.15, 64.70)
CIE-LCHlch(76.50, 65.65, 99.78°)
OKLaboklab(79.36% -0.0372 0.1435)
OKLCHoklch(79.36% 0.148 104.5)
XYZxyz(44.2695, 50.7133, 11.5936)
Luminance0.5071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC03B #3B46CB
analogous
#CB783B #CBC03B #8ECB3B
triadic
#CBC03B #3BCBC0 #C03BCB
tetradic
#CBC03B #3BCB78 #3B46CB #CB3B8E
square
#CBC03B #3BCB78 #3B46CB #CB3B8E
split-complementary
#CBC03B #3B8ECB #783BCB
monochromatic
#6E681D #9F962A #CBC03B #D8D06B #E5DF9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC03B#FFFFFF#000000##000000
##CBC03B1.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)
#D1B925
Deuteranopia (green-blind)
#D5BF44
Tritanopia (blue-blind)
#DAB3A6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cbc03b;
/* rgb */ color: rgb(203, 192, 59);
/* oklch */ color: oklch(79.4% 0.148 104.5);
Tailwind
colors: {
  custom: {
    50: '#ded27a',
    500: '#cbc03b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc03b;
$custom-light: #ded27a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc03b",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 59
  },
  "hsl": {
    "h": 55.417,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79363,
    "c": 0.14827,
    "h": 104.5
  },
  "luminance": 0.50712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC03B

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

Preview Lab → · Contrast checker → · Palette generator →

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