#CAC93B#CAC93B

#CAC93B is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.2% C 0.157 H 109.0°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CAC93B
RGBrgb(202, 201, 59)
HSLhsl(60, 57%, 51%)
HSVhsv(60, 71%, 79%)
CMYKcmyk(0%, 0.5%, 70.8%, 20.8%)
CIE-LABlab(78.84, -16.12, 66.94)
CIE-LCHlch(78.84, 68.85, 103.54°)
OKLaboklab(81.2% -0.0511 0.1483)
OKLCHoklch(81.2% 0.157 109)
XYZxyz(46.0348, 54.6470, 12.2598)
Luminance0.5465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC93B #3B3CCA
analogous
#CA813B #CAC93B #83CA3B
triadic
#CAC93B #3BCAC9 #C93BCA
tetradic
#CAC93B #3BCA81 #3B3CCA #CA3B83
square
#CAC93B #3BCA81 #3B3CCA #CA3B83
split-complementary
#CAC93B #3B83CA #813BCA
monochromatic
#6D6D1E #9D9C2B #CAC93B #D7D66B #E4E49B

Accessibility & contrast

On white

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

On black

11.93
#CAC93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC93B
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC93B#FFFFFF#000000##000000
##CAC93B1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C122
Deuteranopia (green-blind)
#DBC546
Tritanopia (blue-blind)
#D8BCAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac93b;
/* rgb */ color: rgb(202, 201, 59);
/* oklch */ color: oklch(81.2% 0.157 109.0);
Tailwind
colors: {
  custom: {
    50: '#ded97a',
    500: '#cac93b',
    950: '#000000',
  },
}
SCSS
$custom: #cac93b;
$custom-light: #ded97a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac93b",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 59
  },
  "hsl": {
    "h": 59.58,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.81203,
    "c": 0.15686,
    "h": 109
  },
  "luminance": 0.54646
}

Semantic roles & 50–950 ramp

primary
#CAC93B
secondary
#333377
accent
#48E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC93B

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

Preview Lab → · Contrast checker → · Palette generator →

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