#CBC93C#CBC93C

#CBC93C is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.3% C 0.156 H 108.6°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CBC93C
RGBrgb(203, 201, 60)
HSLhsl(59, 58%, 52%)
HSVhsv(59, 70%, 80%)
CMYKcmyk(0%, 1%, 70.4%, 20.4%)
CIE-LABlab(78.92, -15.65, 66.69)
CIE-LCHlch(78.92, 68.50, 103.21°)
OKLaboklab(81.29% -0.0498 0.1479)
OKLCHoklch(81.29% 0.156 108.6)
XYZxyz(46.3325, 54.7975, 12.4104)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC93C #3C3ECB
analogous
#CB823C #CBC93C #86CB3C
triadic
#CBC93C #3CCBC9 #C93CCB
tetradic
#CBC93C #3CCB82 #3C3ECB #CB3C86
square
#CBC93C #3CCB82 #3C3ECB #CB3C86
split-complementary
#CBC93C #3C86CB #823CCB
monochromatic
#6F6E1E #9F9E2A #CBC93C #D8D66C #E5E49D

Accessibility & contrast

On white

1.76
#CBC93C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#CBC93C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC93C
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC93C#FFFFFF#000000##000000
##CBC93C1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C123
Deuteranopia (green-blind)
#DBC646
Tritanopia (blue-blind)
#D9BCAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc93c;
/* rgb */ color: rgb(203, 201, 60);
/* oklch */ color: oklch(81.3% 0.156 108.6);
Tailwind
colors: {
  custom: {
    50: '#ded97b',
    500: '#cbc93c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc93c;
$custom-light: #ded97b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc93c",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 60
  },
  "hsl": {
    "h": 59.161,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81294,
    "c": 0.15607,
    "h": 108.6
  },
  "luminance": 0.54796
}

Semantic roles & 50–950 ramp

primary
#CBC93C
secondary
#333478
accent
#49E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC93C

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

Preview Lab → · Contrast checker → · Palette generator →

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