#CAC45F#CAC45F

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

Color values

HEX#CAC45F
RGBrgb(202, 196, 95)
HSLhsl(57, 50%, 58%)
HSVhsv(57, 53%, 79%)
CMYKcmyk(0%, 3%, 53%, 20.8%)
CIE-LABlab(77.79, -11.26, 50.75)
CIE-LCHlch(77.79, 51.98, 102.51°)
OKLaboklab(80.47% -0.0336 0.119)
OKLCHoklch(80.47% 0.124 105.8)
XYZxyz(46.1639, 52.8640, 18.5963)
Luminance0.5286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC45F #5F65CA
analogous
#CA8F5F #CAC45F #9ACA5F
triadic
#CAC45F #5FCAC4 #C45FCA
tetradic
#CAC45F #5FCA8F #5F65CA #CA5F9A
square
#CAC45F #5FCA8F #5F65CA #CA5F9A
split-complementary
#CAC45F #5F9ACA #8F5FCA
monochromatic
#837E2B #B1AA3B #CAC45F #D9D58D #E8E6BB

Accessibility & contrast

On white

1.81
#CAC45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC45F#FFFFFF#000000##000000
##CAC45F1.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE55
Deuteranopia (green-blind)
#D5C264
Tritanopia (blue-blind)
#D7B9AD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac45f;
/* rgb */ color: rgb(202, 196, 95);
/* oklch */ color: oklch(80.5% 0.124 105.8);
Tailwind
colors: {
  custom: {
    50: '#dcd58f',
    500: '#cac45f',
    950: '#000000',
  },
}
SCSS
$custom: #cac45f;
$custom-light: #dcd58f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac45f",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 56.636,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80467,
    "c": 0.12363,
    "h": 105.8
  },
  "luminance": 0.52863
}

Semantic roles & 50–950 ramp

primary
#CAC45F
secondary
#43478B
accent
#56DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC45F

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

Preview Lab → · Contrast checker → · Palette generator →

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