#CAC83C#CAC83C

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

Color values

HEX#CAC83C
RGBrgb(202, 200, 60)
HSLhsl(59, 57%, 51%)
HSVhsv(59, 70%, 79%)
CMYKcmyk(0%, 1%, 70.3%, 20.8%)
CIE-LABlab(78.57, -15.57, 66.32)
CIE-LCHlch(78.57, 68.13, 103.21°)
OKLaboklab(80.99% -0.0495 0.1472)
OKLCHoklch(80.99% 0.155 108.6)
XYZxyz(45.8287, 54.1928, 12.3203)
Luminance0.5419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC83C #3C3ECA
analogous
#CA813C #CAC83C #85CA3C
triadic
#CAC83C #3CCAC8 #C83CCA
tetradic
#CAC83C #3CCA81 #3C3ECA #CA3C85
square
#CAC83C #3CCA81 #3C3ECA #CA3C85
split-complementary
#CAC83C #3C85CA #813CCA
monochromatic
#6E6D1E #9E9C2B #CAC83C #D7D66C #E4E39C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC83C#FFFFFF#000000##000000
##CAC83C1.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)
#D8C024
Deuteranopia (green-blind)
#DAC546
Tritanopia (blue-blind)
#D8BBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac83c;
/* rgb */ color: rgb(202, 200, 60);
/* oklch */ color: oklch(81.0% 0.155 108.6);
Tailwind
colors: {
  custom: {
    50: '#ded87b',
    500: '#cac83c',
    950: '#000000',
  },
}
SCSS
$custom: #cac83c;
$custom-light: #ded87b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac83c",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 60
  },
  "hsl": {
    "h": 59.155,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.80994,
    "c": 0.15528,
    "h": 108.6
  },
  "luminance": 0.54191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC83C

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

Preview Lab → · Contrast checker → · Palette generator →

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