#CAC83F#CAC83F

#CAC83F is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.0% C 0.153 H 108.6°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CAC83F
RGBrgb(202, 200, 63)
HSLhsl(59, 57%, 52%)
HSVhsv(59, 69%, 79%)
CMYKcmyk(0%, 1%, 68.8%, 20.8%)
CIE-LABlab(78.59, -15.42, 65.25)
CIE-LCHlch(78.59, 67.04, 103.30°)
OKLaboklab(81.02% -0.0488 0.1454)
OKLCHoklch(81.02% 0.153 108.6)
XYZxyz(45.9102, 54.2254, 12.7498)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC83F #3F41CA
analogous
#CA833F #CAC83F #86CA3F
triadic
#CAC83F #3FCAC8 #C83FCA
tetradic
#CAC83F #3FCA83 #3F41CA #CA3F86
square
#CAC83F #3FCA83 #3F41CA #CA3F86
split-complementary
#CAC83F #3F86CA #833FCA
monochromatic
#706F1F #A09E2C #CAC83F #D7D66F #E4E39F

Accessibility & contrast

On white

1.77
#CAC83F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CAC83F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC83F
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC83F#FFFFFF#000000##000000
##CAC83F1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C029
Deuteranopia (green-blind)
#DAC549
Tritanopia (blue-blind)
#D8BBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac83f;
/* rgb */ color: rgb(202, 200, 63);
/* oklch */ color: oklch(81.0% 0.153 108.6);
Tailwind
colors: {
  custom: {
    50: '#ded87c',
    500: '#cac83f',
    950: '#000000',
  },
}
SCSS
$custom: #cac83f;
$custom-light: #ded87c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac83f",
  "rgb": {
    "r": 202,
    "g": 200,
    "b": 63
  },
  "hsl": {
    "h": 59.137,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81016,
    "c": 0.15337,
    "h": 108.6
  },
  "luminance": 0.54224
}

Semantic roles & 50–950 ramp

primary
#CAC83F
secondary
#343579
accent
#4AE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC83F

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

Preview Lab → · Contrast checker → · Palette generator →

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