#CAC63F#CAC63F

#CAC63F is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.6% C 0.151 H 107.7°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CAC63F
RGBrgb(202, 198, 63)
HSLhsl(58, 57%, 52%)
HSVhsv(58, 69%, 79%)
CMYKcmyk(0%, 2%, 68.8%, 20.8%)
CIE-LABlab(78.05, -14.42, 64.71)
CIE-LCHlch(78.05, 66.30, 102.56°)
OKLaboklab(80.59% -0.046 0.1443)
OKLCHoklch(80.59% 0.151 107.7)
XYZxyz(45.4501, 53.3051, 12.5964)
Luminance0.5330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC63F #3F43CA
analogous
#CA803F #CAC63F #89CA3F
triadic
#CAC63F #3FCAC6 #C63FCA
tetradic
#CAC63F #3FCA80 #3F43CA #CA3F89
square
#CAC63F #3FCA80 #3F43CA #CA3F89
split-complementary
#CAC63F #3F89CA #803FCA
monochromatic
#706D1F #A09C2C #CAC63F #D7D46F #E4E29F

Accessibility & contrast

On white

1.80
#CAC63F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CAC63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC63F
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC63F#FFFFFF#000000##000000
##CAC63F1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2A
Deuteranopia (green-blind)
#D9C348
Tritanopia (blue-blind)
#D8B9AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac63f;
/* rgb */ color: rgb(202, 198, 63);
/* oklch */ color: oklch(80.6% 0.151 107.7);
Tailwind
colors: {
  custom: {
    50: '#ded77c',
    500: '#cac63f',
    950: '#000000',
  },
}
SCSS
$custom: #cac63f;
$custom-light: #ded77c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac63f",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 63
  },
  "hsl": {
    "h": 58.273,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80586,
    "c": 0.15143,
    "h": 107.7
  },
  "luminance": 0.53304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC63F

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

Preview Lab → · Contrast checker → · Palette generator →

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