#CAC03B#CAC03B

#CAC03B is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.3% C 0.148 H 105.0°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#CAC03B
RGBrgb(202, 192, 59)
HSLhsl(56, 57%, 51%)
HSVhsv(56, 71%, 79%)
CMYKcmyk(0%, 5%, 70.8%, 20.8%)
CIE-LABlab(76.42, -11.58, 64.58)
CIE-LCHlch(76.42, 65.61, 100.16°)
OKLaboklab(79.27% -0.0384 0.1433)
OKLCHoklch(79.27% 0.148 105)
XYZxyz(43.9980, 50.5733, 11.5808)
Luminance0.5057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC03B #3B45CA
analogous
#CA783B #CAC03B #8CCA3B
triadic
#CAC03B #3BCAC0 #C03BCA
tetradic
#CAC03B #3BCA78 #3B45CA #CA3B8C
square
#CAC03B #3BCA78 #3B45CA #CA3B8C
split-complementary
#CAC03B #3B8CCA #783BCA
monochromatic
#6D681E #9D952B #CAC03B #D7CF6B #E4DF9B

Accessibility & contrast

On white

1.89
#CAC03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#CAC03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC03B
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC03B#FFFFFF#000000##000000
##CAC03B1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B925
Deuteranopia (green-blind)
#D4BF44
Tritanopia (blue-blind)
#D9B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cac03b;
/* rgb */ color: rgb(202, 192, 59);
/* oklch */ color: oklch(79.3% 0.148 105.0);
Tailwind
colors: {
  custom: {
    50: '#ded279',
    500: '#cac03b',
    950: '#000000',
  },
}
SCSS
$custom: #cac03b;
$custom-light: #ded279;
$custom-dark: #000000;
JSON
{
  "hex": "#cac03b",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 59
  },
  "hsl": {
    "h": 55.804,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79275,
    "c": 0.14837,
    "h": 105
  },
  "luminance": 0.50572
}

Semantic roles & 50–950 ramp

primary
#CAC03B
secondary
#333777
accent
#52E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC03B

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

Preview Lab → · Contrast checker → · Palette generator →

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