#CAC739#CAC739

#CAC739 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.8% C 0.156 H 108.2°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CAC739
RGBrgb(202, 199, 57)
HSLhsl(59, 58%, 51%)
HSVhsv(59, 72%, 79%)
CMYKcmyk(0%, 1.5%, 71.8%, 20.8%)
CIE-LABlab(78.29, -15.21, 67.11)
CIE-LCHlch(78.29, 68.81, 102.77°)
OKLaboklab(80.76% -0.0488 0.1483)
OKLCHoklch(80.76% 0.156 108.2)
XYZxyz(45.5208, 53.7003, 11.8374)
Luminance0.5370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC739 #393CCA
analogous
#CA7F39 #CAC739 #84CA39
triadic
#CAC739 #39CAC7 #C739CA
tetradic
#CAC739 #39CA7F #393CCA #CA3984
square
#CAC739 #39CA7F #393CCA #CA3984
split-complementary
#CAC739 #3984CA #7F39CA
monochromatic
#6C6A1D #9C9A2A #CAC739 #D7D569 #E4E29A

Accessibility & contrast

On white

1.79
#CAC739 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#CAC739 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC739
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC739#FFFFFF#000000##000000
##CAC7391.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF1E
Deuteranopia (green-blind)
#DAC444
Tritanopia (blue-blind)
#D9BAAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac739;
/* rgb */ color: rgb(202, 199, 57);
/* oklch */ color: oklch(80.8% 0.156 108.2);
Tailwind
colors: {
  custom: {
    50: '#ded779',
    500: '#cac739',
    950: '#000000',
  },
}
SCSS
$custom: #cac739;
$custom-light: #ded779;
$custom-dark: #000000;
JSON
{
  "hex": "#cac739",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 57
  },
  "hsl": {
    "h": 58.759,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.80759,
    "c": 0.15612,
    "h": 108.2
  },
  "luminance": 0.53699
}

Semantic roles & 50–950 ramp

primary
#CAC739
secondary
#323375
accent
#4AE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC739

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

Preview Lab → · Contrast checker → · Palette generator →

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