#CAC43F#CAC43F

#CAC43F 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#CAC43F
RGBrgb(202, 196, 63)
HSLhsl(57, 57%, 52%)
HSVhsv(57, 69%, 79%)
CMYKcmyk(0%, 3%, 68.8%, 20.8%)
CIE-LABlab(77.52, -13.41, 64.18)
CIE-LCHlch(77.52, 65.56, 101.80°)
OKLaboklab(80.16% -0.0431 0.1432)
OKLCHoklch(80.16% 0.15 106.8)
XYZxyz(44.9960, 52.3968, 12.4451)
Luminance0.5240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC43F #3F45CA
analogous
#CA7F3F #CAC43F #8BCA3F
triadic
#CAC43F #3FCAC4 #C43FCA
tetradic
#CAC43F #3FCA7F #3F45CA #CA3F8B
square
#CAC43F #3FCA7F #3F45CA #CA3F8B
split-complementary
#CAC43F #3F8BCA #7F3FCA
monochromatic
#706C1F #A09B2C #CAC43F #D7D36F #E4E19F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC43F#FFFFFF#000000##000000
##CAC43F1.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)
#D4BD2A
Deuteranopia (green-blind)
#D7C248
Tritanopia (blue-blind)
#D9B7AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac43f;
/* rgb */ color: rgb(202, 196, 63);
/* oklch */ color: oklch(80.2% 0.150 106.8);
Tailwind
colors: {
  custom: {
    50: '#ded57c',
    500: '#cac43f',
    950: '#000000',
  },
}
SCSS
$custom: #cac43f;
$custom-light: #ded57c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac43f",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 63
  },
  "hsl": {
    "h": 57.41,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80158,
    "c": 0.14951,
    "h": 106.8
  },
  "luminance": 0.52395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC43F

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

Preview Lab → · Contrast checker → · Palette generator →

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