#CAC13E#CAC13E

#CAC13E is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.5% C 0.147 H 105.4°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#CAC13E
RGBrgb(202, 193, 62)
HSLhsl(56, 57%, 52%)
HSVhsv(56, 69%, 79%)
CMYKcmyk(0%, 4.5%, 69.3%, 20.8%)
CIE-LABlab(76.71, -11.94, 63.75)
CIE-LCHlch(76.71, 64.86, 100.61°)
OKLaboklab(79.51% -0.0391 0.1421)
OKLCHoklch(79.51% 0.147 105.4)
XYZxyz(44.2983, 51.0459, 12.0759)
Luminance0.5104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC13E #3E47CA
analogous
#CA7B3E #CAC13E #8DCA3E
triadic
#CAC13E #3ECAC1 #C13ECA
tetradic
#CAC13E #3ECA7B #3E47CA #CA3E8D
square
#CAC13E #3ECA7B #3E47CA #CA3E8D
split-complementary
#CAC13E #3E8DCA #7B3ECA
monochromatic
#6F6A1F #9F982C #CAC13E #D7D06E #E4E09E

Accessibility & contrast

On white

1.87
#CAC13E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#CAC13E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC13E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC13E#FFFFFF#000000##000000
##CAC13E1.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA2A
Deuteranopia (green-blind)
#D5C047
Tritanopia (blue-blind)
#D9B4A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cac13e;
/* rgb */ color: rgb(202, 193, 62);
/* oklch */ color: oklch(79.5% 0.147 105.4);
Tailwind
colors: {
  custom: {
    50: '#ded37b',
    500: '#cac13e',
    950: '#000000',
  },
}
SCSS
$custom: #cac13e;
$custom-light: #ded37b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac13e",
  "rgb": {
    "r": 202,
    "g": 193,
    "b": 62
  },
  "hsl": {
    "h": 56.143,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7951,
    "c": 0.14735,
    "h": 105.4
  },
  "luminance": 0.51044
}

Semantic roles & 50–950 ramp

primary
#CAC13E
secondary
#343878
accent
#51E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC13E

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

Preview Lab → · Contrast checker → · Palette generator →

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