#CAC63B#CAC63B

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

Color values

HEX#CAC63B
RGBrgb(202, 198, 59)
HSLhsl(58, 57%, 51%)
HSVhsv(58, 71%, 79%)
CMYKcmyk(0%, 2%, 70.8%, 20.8%)
CIE-LABlab(78.03, -14.62, 66.15)
CIE-LCHlch(78.03, 67.75, 102.46°)
OKLaboklab(80.56% -0.0469 0.1466)
OKLCHoklch(80.56% 0.154 107.8)
XYZxyz(45.3423, 53.2620, 12.0290)
Luminance0.5326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC63B #3B3FCA
analogous
#CA7E3B #CAC63B #86CA3B
triadic
#CAC63B #3BCAC6 #C63BCA
tetradic
#CAC63B #3BCA7E #3B3FCA #CA3B86
square
#CAC63B #3BCA7E #3B3FCA #CA3B86
split-complementary
#CAC63B #3B86CA #7E3BCA
monochromatic
#6D6B1E #9D9A2B #CAC63B #D7D46B #E4E29B

Accessibility & contrast

On white

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

On black

11.65
#CAC63B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC63B
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC63B#FFFFFF#000000##000000
##CAC63B1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE23
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#D9B9AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cac63b;
/* rgb */ color: rgb(202, 198, 59);
/* oklch */ color: oklch(80.6% 0.154 107.8);
Tailwind
colors: {
  custom: {
    50: '#ded77a',
    500: '#cac63b',
    950: '#000000',
  },
}
SCSS
$custom: #cac63b;
$custom-light: #ded77a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac63b",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 59
  },
  "hsl": {
    "h": 58.322,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80558,
    "c": 0.15396,
    "h": 107.8
  },
  "luminance": 0.5326
}

Semantic roles & 50–950 ramp

primary
#CAC63B
secondary
#333477
accent
#4BE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC63B

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

Preview Lab → · Contrast checker → · Palette generator →

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