#CAC43B#CAC43B

#CAC43B is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.1% C 0.152 H 106.9°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#CAC43B
RGBrgb(202, 196, 59)
HSLhsl(57, 57%, 51%)
HSVhsv(57, 71%, 79%)
CMYKcmyk(0%, 3%, 70.8%, 20.8%)
CIE-LABlab(77.49, -13.61, 65.63)
CIE-LCHlch(77.49, 67.03, 101.71°)
OKLaboklab(80.13% -0.0441 0.1455)
OKLCHoklch(80.13% 0.152 106.9)
XYZxyz(44.8882, 52.3537, 11.8776)
Luminance0.5235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC43B #3B41CA
analogous
#CA7C3B #CAC43B #88CA3B
triadic
#CAC43B #3BCAC4 #C43BCA
tetradic
#CAC43B #3BCA7C #3B41CA #CA3B88
square
#CAC43B #3BCA7C #3B41CA #CA3B88
split-complementary
#CAC43B #3B88CA #7C3BCA
monochromatic
#6D6A1E #9D982B #CAC43B #D7D36B #E4E19B

Accessibility & contrast

On white

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

On black

11.47
#CAC43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC43B
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC43B#FFFFFF#000000##000000
##CAC43B1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac43b;
/* rgb */ color: rgb(202, 196, 59);
/* oklch */ color: oklch(80.1% 0.152 106.9);
Tailwind
colors: {
  custom: {
    50: '#ded57a',
    500: '#cac43b',
    950: '#000000',
  },
}
SCSS
$custom: #cac43b;
$custom-light: #ded57a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac43b",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 59
  },
  "hsl": {
    "h": 57.483,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80129,
    "c": 0.15207,
    "h": 106.9
  },
  "luminance": 0.52352
}

Semantic roles & 50–950 ramp

primary
#CAC43B
secondary
#333577
accent
#4EE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC43B

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

Preview Lab → · Contrast checker → · Palette generator →

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