#CAC43D#CAC43D

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

Color values

HEX#CAC43D
RGBrgb(202, 196, 61)
HSLhsl(57, 57%, 52%)
HSVhsv(57, 70%, 79%)
CMYKcmyk(0%, 3%, 69.8%, 20.8%)
CIE-LABlab(77.50, -13.51, 64.91)
CIE-LCHlch(77.50, 66.30, 101.76°)
OKLaboklab(80.14% -0.0436 0.1444)
OKLCHoklch(80.14% 0.151 106.8)
XYZxyz(44.9411, 52.3749, 12.1560)
Luminance0.5237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC43D #3D43CA
analogous
#CA7E3D #CAC43D #8ACA3D
triadic
#CAC43D #3DCAC4 #C43DCA
tetradic
#CAC43D #3DCA7E #3D43CA #CA3D8A
square
#CAC43D #3DCA7E #3D43CA #CA3D8A
split-complementary
#CAC43D #3D8ACA #7E3DCA
monochromatic
#6E6B1E #9F9A2B #CAC43D #D7D36D #E4E19D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC43D#FFFFFF#000000##000000
##CAC43D1.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)
#D4BD27
Deuteranopia (green-blind)
#D7C246
Tritanopia (blue-blind)
#D9B7A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac43d;
/* rgb */ color: rgb(202, 196, 61);
/* oklch */ color: oklch(80.1% 0.151 106.8);
Tailwind
colors: {
  custom: {
    50: '#ded57b',
    500: '#cac43d',
    950: '#000000',
  },
}
SCSS
$custom: #cac43d;
$custom-light: #ded57b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac43d",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 61
  },
  "hsl": {
    "h": 57.447,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80143,
    "c": 0.15081,
    "h": 106.8
  },
  "luminance": 0.52373
}

Semantic roles & 50–950 ramp

primary
#CAC43D
secondary
#333678
accent
#4EE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC43D

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

Preview Lab → · Contrast checker → · Palette generator →

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