#CAC93E#CAC93E

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

Color values

HEX#CAC93E
RGBrgb(202, 201, 62)
HSLhsl(60, 57%, 52%)
HSVhsv(60, 69%, 79%)
CMYKcmyk(0%, 0.5%, 69.3%, 20.8%)
CIE-LABlab(78.86, -15.97, 65.87)
CIE-LCHlch(78.86, 67.78, 103.63°)
OKLaboklab(81.22% -0.0504 0.1466)
OKLCHoklch(81.22% 0.155 109)
XYZxyz(46.1149, 54.6790, 12.6814)
Luminance0.5468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC93E #3E3FCA
analogous
#CA833E #CAC93E #85CA3E
triadic
#CAC93E #3ECAC9 #C93ECA
tetradic
#CAC93E #3ECA83 #3E3FCA #CA3E85
square
#CAC93E #3ECA83 #3E3FCA #CA3E85
split-complementary
#CAC93E #3E85CA #833ECA
monochromatic
#6F6F1F #9F9E2C #CAC93E #D7D66E #E4E49E

Accessibility & contrast

On white

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

On black

11.94
#CAC93E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC93E
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC93E#FFFFFF#000000##000000
##CAC93E1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C127
Deuteranopia (green-blind)
#DBC548
Tritanopia (blue-blind)
#D8BCAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac93e;
/* rgb */ color: rgb(202, 201, 62);
/* oklch */ color: oklch(81.2% 0.155 109.0);
Tailwind
colors: {
  custom: {
    50: '#ded97c',
    500: '#cac93e',
    950: '#000000',
  },
}
SCSS
$custom: #cac93e;
$custom-light: #ded97c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac93e",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 62
  },
  "hsl": {
    "h": 59.571,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81223,
    "c": 0.155,
    "h": 109
  },
  "luminance": 0.54678
}

Semantic roles & 50–950 ramp

primary
#CAC93E
secondary
#343478
accent
#49E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC93E

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

Preview Lab → · Contrast checker → · Palette generator →

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