#CAC34C#CAC34C

#CAC34C is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.1% C 0.139 H 105.9°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#CAC34C
RGBrgb(202, 195, 76)
HSLhsl(57, 54%, 55%)
HSVhsv(57, 62%, 79%)
CMYKcmyk(0%, 3.5%, 62.4%, 20.8%)
CIE-LABlab(77.35, -12.14, 58.78)
CIE-LCHlch(77.35, 60.02, 101.67°)
OKLaboklab(80.05% -0.0382 0.1338)
OKLCHoklch(80.05% 0.139 105.9)
XYZxyz(45.1783, 52.1101, 14.5145)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC34C #4C53CA
analogous
#CA844C #CAC34C #92CA4C
triadic
#CAC34C #4CCAC3 #C34CCA
tetradic
#CAC34C #4CCA84 #4C53CA #CA4C92
square
#CAC34C #4CCA84 #4C53CA #CA4C92
split-complementary
#CAC34C #4C92CA #844CCA
monochromatic
#787324 #A7A132 #CAC34C #D8D37B #E6E3AA

Accessibility & contrast

On white

1.84
#CAC34C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#CAC34C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC34C
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC34C#FFFFFF#000000##000000
##CAC34C1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3E
Deuteranopia (green-blind)
#D6C153
Tritanopia (blue-blind)
#D8B7AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac34c;
/* rgb */ color: rgb(202, 195, 76);
/* oklch */ color: oklch(80.1% 0.139 105.9);
Tailwind
colors: {
  custom: {
    50: '#ddd483',
    500: '#cac34c',
    950: '#000000',
  },
}
SCSS
$custom: #cac34c;
$custom-light: #ddd483;
$custom-dark: #000000;
JSON
{
  "hex": "#cac34c",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 76
  },
  "hsl": {
    "h": 56.667,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80053,
    "c": 0.13914,
    "h": 105.9
  },
  "luminance": 0.52109
}

Semantic roles & 50–950 ramp

primary
#CAC34C
secondary
#3A3E80
accent
#52DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC34C

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

Preview Lab → · Contrast checker → · Palette generator →

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