#CBC93A#CBC93A

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

Color values

HEX#CBC93A
RGBrgb(203, 201, 58)
HSLhsl(59, 58%, 51%)
HSVhsv(59, 71%, 80%)
CMYKcmyk(0%, 1%, 71.4%, 20.4%)
CIE-LABlab(78.91, -15.75, 67.39)
CIE-LCHlch(78.91, 69.20, 103.15°)
OKLaboklab(81.28% -0.0503 0.149)
OKLCHoklch(81.28% 0.157 108.6)
XYZxyz(46.2807, 54.7767, 12.1372)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC93A #3A3CCB
analogous
#CB803A #CBC93A #84CB3A
triadic
#CBC93A #3ACBC9 #C93ACB
tetradic
#CBC93A #3ACB80 #3A3CCB #CB3A84
square
#CBC93A #3ACB80 #3A3CCB #CB3A84
split-complementary
#CBC93A #3A84CB #803ACB
monochromatic
#6E6D1D #9E9C2A #CBC93A #D8D66A #E5E49B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC93A#FFFFFF#000000##000000
##CBC93A1.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)
#D9C120
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#D9BCAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc93a;
/* rgb */ color: rgb(203, 201, 58);
/* oklch */ color: oklch(81.3% 0.157 108.6);
Tailwind
colors: {
  custom: {
    50: '#ded97a',
    500: '#cbc93a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc93a;
$custom-light: #ded97a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc93a",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 58
  },
  "hsl": {
    "h": 59.172,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.8128,
    "c": 0.15727,
    "h": 108.6
  },
  "luminance": 0.54775
}

Semantic roles & 50–950 ramp

primary
#CBC93A
secondary
#323377
accent
#48E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CBC93A

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

Preview Lab → · Contrast checker → · Palette generator →

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