#CAC43E#CAC43E

#CAC43E is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.2% C 0.150 H 106.8°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#CAC43E
RGBrgb(202, 196, 62)
HSLhsl(57, 57%, 52%)
HSVhsv(57, 69%, 79%)
CMYKcmyk(0%, 3%, 69.3%, 20.8%)
CIE-LABlab(77.51, -13.46, 64.55)
CIE-LCHlch(77.51, 65.93, 101.78°)
OKLaboklab(80.15% -0.0434 0.1438)
OKLCHoklch(80.15% 0.15 106.8)
XYZxyz(44.9683, 52.3858, 12.2992)
Luminance0.5238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC43E #3E44CA
analogous
#CA7E3E #CAC43E #8ACA3E
triadic
#CAC43E #3ECAC4 #C43ECA
tetradic
#CAC43E #3ECA7E #3E44CA #CA3E8A
square
#CAC43E #3ECA7E #3E44CA #CA3E8A
split-complementary
#CAC43E #3E8ACA #7E3ECA
monochromatic
#6F6C1F #9F9A2C #CAC43E #D7D36E #E4E19E

Accessibility & contrast

On white

1.83
#CAC43E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#CAC43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC43E
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC43E#FFFFFF#000000##000000
##CAC43E1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD29
Deuteranopia (green-blind)
#D7C247
Tritanopia (blue-blind)
#D9B7A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac43e;
/* rgb */ color: rgb(202, 196, 62);
/* oklch */ color: oklch(80.2% 0.150 106.8);
Tailwind
colors: {
  custom: {
    50: '#ded57b',
    500: '#cac43e',
    950: '#000000',
  },
}
SCSS
$custom: #cac43e;
$custom-light: #ded57b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac43e",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 62
  },
  "hsl": {
    "h": 57.429,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80151,
    "c": 0.15017,
    "h": 106.8
  },
  "luminance": 0.52384
}

Semantic roles & 50–950 ramp

primary
#CAC43E
secondary
#343778
accent
#4EE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC43E

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

Preview Lab → · Contrast checker → · Palette generator →

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