#CAC039#CAC039

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

Color values

HEX#CAC039
RGBrgb(202, 192, 57)
HSLhsl(56, 58%, 51%)
HSVhsv(56, 72%, 79%)
CMYKcmyk(0%, 5%, 71.8%, 20.8%)
CIE-LABlab(76.41, -11.67, 65.30)
CIE-LCHlch(76.41, 66.34, 100.14°)
OKLaboklab(79.26% -0.0389 0.1445)
OKLCHoklch(79.26% 0.15 105.1)
XYZxyz(43.9471, 50.5529, 11.3129)
Luminance0.5055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC039 #3943CA
analogous
#CA7739 #CAC039 #8BCA39
triadic
#CAC039 #39CAC0 #C039CA
tetradic
#CAC039 #39CA77 #3943CA #CA398B
square
#CAC039 #39CA77 #3943CA #CA398B
split-complementary
#CAC039 #398BCA #7739CA
monochromatic
#6C661D #9C942A #CAC039 #D7CF69 #E4DF9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC039#FFFFFF#000000##000000
##CAC0391.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)
#D1B921
Deuteranopia (green-blind)
#D4BF42
Tritanopia (blue-blind)
#D9B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cac039;
/* rgb */ color: rgb(202, 192, 57);
/* oklch */ color: oklch(79.3% 0.150 105.1);
Tailwind
colors: {
  custom: {
    50: '#ded278',
    500: '#cac039',
    950: '#000000',
  },
}
SCSS
$custom: #cac039;
$custom-light: #ded278;
$custom-dark: #000000;
JSON
{
  "hex": "#cac039",
  "rgb": {
    "r": 202,
    "g": 192,
    "b": 57
  },
  "hsl": {
    "h": 55.862,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79261,
    "c": 0.14961,
    "h": 105.1
  },
  "luminance": 0.50551
}

Semantic roles & 50–950 ramp

primary
#CAC039
secondary
#323675
accent
#51E147
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC039

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

Preview Lab → · Contrast checker → · Palette generator →

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