#CAC53E#CAC53E

#CAC53E is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.4% C 0.151 H 107.2°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#CAC53E
RGBrgb(202, 197, 62)
HSLhsl(58, 57%, 52%)
HSVhsv(58, 69%, 79%)
CMYKcmyk(0%, 2.5%, 69.3%, 20.8%)
CIE-LABlab(77.78, -13.96, 64.81)
CIE-LCHlch(77.78, 66.30, 102.16°)
OKLaboklab(80.36% -0.0448 0.1443)
OKLCHoklch(80.36% 0.151 107.2)
XYZxyz(45.1946, 52.8384, 12.3747)
Luminance0.5284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC53E #3E43CA
analogous
#CA7F3E #CAC53E #89CA3E
triadic
#CAC53E #3ECAC5 #C53ECA
tetradic
#CAC53E #3ECA7F #3E43CA #CA3E89
square
#CAC53E #3ECA7F #3E43CA #CA3E89
split-complementary
#CAC53E #3E89CA #7F3ECA
monochromatic
#6F6C1F #9F9B2C #CAC53E #D7D36E #E4E29E

Accessibility & contrast

On white

1.82
#CAC53E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#CAC53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC53E
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC53E#FFFFFF#000000##000000
##CAC53E1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD28
Deuteranopia (green-blind)
#D8C347
Tritanopia (blue-blind)
#D8B8AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac53e;
/* rgb */ color: rgb(202, 197, 62);
/* oklch */ color: oklch(80.4% 0.151 107.2);
Tailwind
colors: {
  custom: {
    50: '#ded67c',
    500: '#cac53e',
    950: '#000000',
  },
}
SCSS
$custom: #cac53e;
$custom-light: #ded67c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac53e",
  "rgb": {
    "r": 202,
    "g": 197,
    "b": 62
  },
  "hsl": {
    "h": 57.857,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80365,
    "c": 0.15112,
    "h": 107.2
  },
  "luminance": 0.52837
}

Semantic roles & 50–950 ramp

primary
#CAC53E
secondary
#343678
accent
#4DE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC53E

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

Preview Lab → · Contrast checker → · Palette generator →

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