#CAC73F#CAC73F

#CAC73F is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.8% C 0.152 H 108.1°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CAC73F
RGBrgb(202, 199, 63)
HSLhsl(59, 57%, 52%)
HSVhsv(59, 69%, 79%)
CMYKcmyk(0%, 1.5%, 68.8%, 20.8%)
CIE-LABlab(78.32, -14.92, 64.98)
CIE-LCHlch(78.32, 66.67, 102.93°)
OKLaboklab(80.8% -0.0474 0.1448)
OKLCHoklch(80.8% 0.152 108.1)
XYZxyz(45.6794, 53.7637, 12.6729)
Luminance0.5376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC73F #3F42CA
analogous
#CA823F #CAC73F #88CA3F
triadic
#CAC73F #3FCAC7 #C73FCA
tetradic
#CAC73F #3FCA82 #3F42CA #CA3F88
square
#CAC73F #3FCA82 #3F42CA #CA3F88
split-complementary
#CAC73F #3F88CA #823FCA
monochromatic
#706E1F #A09D2C #CAC73F #D7D56F #E4E39F

Accessibility & contrast

On white

1.79
#CAC73F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CAC73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC73F
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC73F#FFFFFF#000000##000000
##CAC73F1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF29
Deuteranopia (green-blind)
#D9C448
Tritanopia (blue-blind)
#D8BAAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac73f;
/* rgb */ color: rgb(202, 199, 63);
/* oklch */ color: oklch(80.8% 0.152 108.1);
Tailwind
colors: {
  custom: {
    50: '#ded77c',
    500: '#cac73f',
    950: '#000000',
  },
}
SCSS
$custom: #cac73f;
$custom-light: #ded77c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac73f",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 63
  },
  "hsl": {
    "h": 58.705,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80801,
    "c": 0.1524,
    "h": 108.1
  },
  "luminance": 0.53762
}

Semantic roles & 50–950 ramp

primary
#CAC73F
secondary
#343679
accent
#4BE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC73F

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

Preview Lab → · Contrast checker → · Palette generator →

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