#CAC34B#CAC34B

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

Color values

HEX#CAC34B
RGBrgb(202, 195, 75)
HSLhsl(57, 55%, 54%)
HSVhsv(57, 63%, 79%)
CMYKcmyk(0%, 3.5%, 62.9%, 20.8%)
CIE-LABlab(77.34, -12.21, 59.19)
CIE-LCHlch(77.34, 60.44, 101.65°)
OKLaboklab(80.04% -0.0385 0.1345)
OKLCHoklch(80.04% 0.14 106)
XYZxyz(45.1438, 52.0963, 14.3328)
Luminance0.5210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC34B #4B52CA
analogous
#CA844B #CAC34B #92CA4B
triadic
#CAC34B #4BCAC3 #C34BCA
tetradic
#CAC34B #4BCA84 #4B52CA #CA4B92
square
#CAC34B #4BCA84 #4B52CA #CA4B92
split-complementary
#CAC34B #4B92CA #844BCA
monochromatic
#777323 #A7A031 #CAC34B #D8D37A #E6E3AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC34B#FFFFFF#000000##000000
##CAC34B1.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)
#D3BC3C
Deuteranopia (green-blind)
#D6C152
Tritanopia (blue-blind)
#D8B7AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac34b;
/* rgb */ color: rgb(202, 195, 75);
/* oklch */ color: oklch(80.0% 0.140 106.0);
Tailwind
colors: {
  custom: {
    50: '#ddd483',
    500: '#cac34b',
    950: '#000000',
  },
}
SCSS
$custom: #cac34b;
$custom-light: #ddd483;
$custom-dark: #000000;
JSON
{
  "hex": "#cac34b",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 75
  },
  "hsl": {
    "h": 56.693,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80044,
    "c": 0.13992,
    "h": 106
  },
  "luminance": 0.52095
}

Semantic roles & 50–950 ramp

primary
#CAC34B
secondary
#393D80
accent
#52DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC34B

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

Preview Lab → · Contrast checker → · Palette generator →

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