#CBC03F#CBC03F

#CBC03F is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.4% C 0.146 H 104.4°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#CBC03F
RGBrgb(203, 192, 63)
HSLhsl(55, 57%, 52%)
HSVhsv(55, 69%, 80%)
CMYKcmyk(0%, 5.4%, 69%, 20.4%)
CIE-LABlab(76.53, -10.95, 63.22)
CIE-LCHlch(76.53, 64.16, 99.83°)
OKLaboklab(79.39% -0.0363 0.1411)
OKLCHoklch(79.39% 0.146 104.4)
XYZxyz(44.3772, 50.7564, 12.1610)
Luminance0.5075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC03F #3F4ACB
analogous
#CB7A3F #CBC03F #90CB3F
triadic
#CBC03F #3FCBC0 #C03FCB
tetradic
#CBC03F #3FCB7A #3F4ACB #CB3F90
square
#CBC03F #3FCB7A #3F4ACB #CB3F90
split-complementary
#CBC03F #3F90CB #7A3FCB
monochromatic
#716B1F #A1982C #CBC03F #D8D06F #E5E09F

Accessibility & contrast

On white

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

On black

11.15
#CBC03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC03F
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC03F#FFFFFF#000000##000000
##CBC03F1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc03f;
/* rgb */ color: rgb(203, 192, 63);
/* oklch */ color: oklch(79.4% 0.146 104.4);
Tailwind
colors: {
  custom: {
    50: '#ded27c',
    500: '#cbc03f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc03f;
$custom-light: #ded27c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc03f",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 63
  },
  "hsl": {
    "h": 55.286,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79393,
    "c": 0.14569,
    "h": 104.4
  },
  "luminance": 0.50755
}

Semantic roles & 50–950 ramp

primary
#CBC03F
secondary
#343A7A
accent
#53E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC03F

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

Preview Lab → · Contrast checker → · Palette generator →

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