#CAC83E#CAC83E

#CAC83E is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.0% C 0.154 H 108.6°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CAC83E
RGBrgb(202, 200, 62)
HSLhsl(59, 57%, 52%)
HSVhsv(59, 69%, 79%)
CMYKcmyk(0%, 1%, 69.3%, 20.8%)
CIE-LABlab(78.59, -15.47, 65.61)
CIE-LCHlch(78.59, 67.41, 103.27°)
OKLaboklab(81.01% -0.0491 0.146)
OKLCHoklch(81.01% 0.154 108.6)
XYZxyz(45.8825, 54.2143, 12.6040)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC83E #3E40CA
analogous
#CA823E #CAC83E #86CA3E
triadic
#CAC83E #3ECAC8 #C83ECA
tetradic
#CAC83E #3ECA82 #3E40CA #CA3E86
square
#CAC83E #3ECA82 #3E40CA #CA3E86
split-complementary
#CAC83E #3E86CA #823ECA
monochromatic
#6F6E1F #9F9D2C #CAC83E #D7D66E #E4E39E

Accessibility & contrast

On white

1.77
#CAC83E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CAC83E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC83E
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC83E#FFFFFF#000000##000000
##CAC83E1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C027
Deuteranopia (green-blind)
#DAC548
Tritanopia (blue-blind)
#D8BBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac83e;
/* rgb */ color: rgb(202, 200, 62);
/* oklch */ color: oklch(81.0% 0.154 108.6);
Tailwind
colors: {
  custom: {
    50: '#ded87c',
    500: '#cac83e',
    950: '#000000',
  },
}
SCSS
$custom: #cac83e;
$custom-light: #ded87c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac83e",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 62
  },
  "hsl": {
    "h": 59.143,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.81008,
    "c": 0.15402,
    "h": 108.6
  },
  "luminance": 0.54213
}

Semantic roles & 50–950 ramp

primary
#CAC83E
secondary
#343578
accent
#4AE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC83E

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

Preview Lab → · Contrast checker → · Palette generator →

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