#CAC45E#CAC45E

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

Color values

HEX#CAC45E
RGBrgb(202, 196, 94)
HSLhsl(57, 50%, 58%)
HSVhsv(57, 53%, 79%)
CMYKcmyk(0%, 3%, 53.5%, 20.8%)
CIE-LABlab(77.78, -11.34, 51.21)
CIE-LCHlch(77.78, 52.45, 102.49°)
OKLaboklab(80.46% -0.0339 0.1199)
OKLCHoklch(80.46% 0.125 105.8)
XYZxyz(46.1187, 52.8460, 18.3584)
Luminance0.5284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC45E #5E64CA
analogous
#CA8E5E #CAC45E #9ACA5E
triadic
#CAC45E #5ECAC4 #C45ECA
tetradic
#CAC45E #5ECA8E #5E64CA #CA5E9A
square
#CAC45E #5ECA8E #5E64CA #CA5E9A
split-complementary
#CAC45E #5E9ACA #8E5ECA
monochromatic
#837E2B #B1AA3A #CAC45E #D9D58C #E8E6BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC45E#FFFFFF#000000##000000
##CAC45E1.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)
#D3BE54
Deuteranopia (green-blind)
#D5C263
Tritanopia (blue-blind)
#D7B9AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac45e;
/* rgb */ color: rgb(202, 196, 94);
/* oklch */ color: oklch(80.5% 0.125 105.8);
Tailwind
colors: {
  custom: {
    50: '#dcd58f',
    500: '#cac45e',
    950: '#000000',
  },
}
SCSS
$custom: #cac45e;
$custom-light: #dcd58f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac45e",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 94
  },
  "hsl": {
    "h": 56.667,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80456,
    "c": 0.12457,
    "h": 105.8
  },
  "luminance": 0.52845
}

Semantic roles & 50–950 ramp

primary
#CAC45E
secondary
#42468A
accent
#56DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC45E

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

Preview Lab → · Contrast checker → · Palette generator →

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