#CAC043#CAC043

#CAC043 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.3% C 0.143 H 104.7°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#CAC043
RGBrgb(202, 192, 67)
HSLhsl(56, 56%, 53%)
HSVhsv(56, 67%, 79%)
CMYKcmyk(0%, 5%, 66.8%, 20.8%)
CIE-LABlab(76.47, -11.16, 61.57)
CIE-LCHlch(76.47, 62.57, 100.27°)
OKLaboklab(79.34% -0.0364 0.1383)
OKLCHoklch(79.34% 0.143 104.7)
XYZxyz(44.2216, 50.6627, 12.7586)
Luminance0.5066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC043 #434DCA
analogous
#CA7D43 #CAC043 #90CA43
triadic
#CAC043 #43CAC0 #C043CA
tetradic
#CAC043 #43CA7D #434DCA #CA4390
square
#CAC043 #43CA7D #434DCA #CA4390
split-complementary
#CAC043 #4390CA #7D43CA
monochromatic
#726C20 #A2992E #CAC043 #D7D073 #E5E0A2

Accessibility & contrast

On white

1.89
#CAC043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#CAC043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC043
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC043#FFFFFF#000000##000000
##CAC0431.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B932
Deuteranopia (green-blind)
#D4BF4B
Tritanopia (blue-blind)
#D9B3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac043;
/* rgb */ color: rgb(202, 192, 67);
/* oklch */ color: oklch(79.3% 0.143 104.7);
Tailwind
colors: {
  custom: {
    50: '#ddd27e',
    500: '#cac043',
    950: '#000000',
  },
}
SCSS
$custom: #cac043;
$custom-light: #ddd27e;
$custom-dark: #000000;
JSON
{
  "hex": "#cac043",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 67
  },
  "hsl": {
    "h": 55.556,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79336,
    "c": 0.14301,
    "h": 104.7
  },
  "luminance": 0.50661
}

Semantic roles & 50–950 ramp

primary
#CAC043
secondary
#363B7B
accent
#54DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC043

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

Preview Lab → · Contrast checker → · Palette generator →

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