#CACA5F#CACA5F

#CACA5F is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.7% C 0.130 H 109.0°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CACA5F
RGBrgb(202, 202, 95)
HSLhsl(60, 50%, 58%)
HSVhsv(60, 53%, 79%)
CMYKcmyk(0%, 0%, 53%, 20.8%)
CIE-LABlab(79.40, -14.30, 52.61)
CIE-LCHlch(79.40, 54.52, 105.20°)
OKLaboklab(81.75% -0.0423 0.123)
OKLCHoklch(81.75% 0.13 109)
XYZxyz(47.5444, 55.6250, 19.0564)
Luminance0.5562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACA5F #5F5FCA
analogous
#CA945F #CACA5F #94CA5F
triadic
#CACA5F #5FCACA #CA5FCA
tetradic
#CACA5F #5FCA94 #5F5FCA #CA5F94
square
#CACA5F #5FCA94 #5F5FCA #CA5F94
split-complementary
#CACA5F #5F94CA #945FCA
monochromatic
#83832B #B1B13B #CACA5F #D9D98D #E8E8BB

Accessibility & contrast

On white

1.73
#CACA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#CACA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACA5F
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACA5F#FFFFFF#000000##000000
##CACA5F1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C354
Deuteranopia (green-blind)
#DAC765
Tritanopia (blue-blind)
#D6BFB2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #caca5f;
/* rgb */ color: rgb(202, 202, 95);
/* oklch */ color: oklch(81.7% 0.130 109.0);
Tailwind
colors: {
  custom: {
    50: '#dcda90',
    500: '#caca5f',
    950: '#000000',
  },
}
SCSS
$custom: #caca5f;
$custom-light: #dcda90;
$custom-dark: #000000;
JSON
{
  "hex": "#caca5f",
  "rgb": {
    "r": 202,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 60,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81746,
    "c": 0.13005,
    "h": 109
  },
  "luminance": 0.55624
}

Semantic roles & 50–950 ramp

primary
#CACA5F
secondary
#43438B
accent
#4EDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CACA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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