#CAC853#CAC853

#CAC853 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.2% C 0.139 H 108.2°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#CAC853
RGBrgb(202, 200, 83)
HSLhsl(59, 53%, 56%)
HSVhsv(59, 59%, 79%)
CMYKcmyk(0%, 1%, 58.9%, 20.8%)
CIE-LABlab(78.75, -14.20, 57.28)
CIE-LCHlch(78.75, 59.01, 103.93°)
OKLaboklab(81.19% -0.0433 0.1316)
OKLCHoklch(81.19% 0.139 108.2)
XYZxyz(46.5741, 54.4910, 16.2464)
Luminance0.5449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC853 #5355CA
analogous
#CA8C53 #CAC853 #90CA53
triadic
#CAC853 #53CAC8 #C853CA
tetradic
#CAC853 #53CA8C #5355CA #CA5390
square
#CAC853 #53CA8C #5355CA #CA5390
split-complementary
#CAC853 #5390CA #8C53CA
monochromatic
#7C7B26 #ABA935 #CAC853 #D8D782 #E7E6B1

Accessibility & contrast

On white

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

On black

11.90
#CAC853 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC853
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC853#FFFFFF#000000##000000
##CAC8531.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C146
Deuteranopia (green-blind)
#D9C55A
Tritanopia (blue-blind)
#D7BCAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac853;
/* rgb */ color: rgb(202, 200, 83);
/* oklch */ color: oklch(81.2% 0.139 108.2);
Tailwind
colors: {
  custom: {
    50: '#ddd888',
    500: '#cac853',
    950: '#000000',
  },
}
SCSS
$custom: #cac853;
$custom-light: #ddd888;
$custom-dark: #000000;
JSON
{
  "hex": "#cac853",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 83
  },
  "hsl": {
    "h": 58.992,
    "s": 52.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81188,
    "c": 0.13851,
    "h": 108.2
  },
  "luminance": 0.5449
}

Semantic roles & 50–950 ramp

primary
#CAC853
secondary
#3D3E84
accent
#4EDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC853

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

Preview Lab → · Contrast checker → · Palette generator →

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