#CAC44B#CAC44B

#CAC44B is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.3% C 0.141 H 106.5°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#CAC44B
RGBrgb(202, 196, 75)
HSLhsl(57, 55%, 54%)
HSVhsv(57, 63%, 79%)
CMYKcmyk(0%, 3%, 62.9%, 20.8%)
CIE-LABlab(77.61, -12.72, 59.47)
CIE-LCHlch(77.61, 60.82, 102.07°)
OKLaboklab(80.26% -0.0399 0.1351)
OKLCHoklch(80.26% 0.141 106.5)
XYZxyz(45.3686, 52.5459, 14.4078)
Luminance0.5254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC44B #4B51CA
analogous
#CA854B #CAC44B #91CA4B
triadic
#CAC44B #4BCAC4 #C44BCA
tetradic
#CAC44B #4BCA85 #4B51CA #CA4B91
square
#CAC44B #4BCA85 #4B51CA #CA4B91
split-complementary
#CAC44B #4B91CA #854BCA
monochromatic
#777323 #A7A131 #CAC44B #D8D37A #E6E3AA

Accessibility & contrast

On white

1.82
#CAC44B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#CAC44B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC44B
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC44B#FFFFFF#000000##000000
##CAC44B1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3C
Deuteranopia (green-blind)
#D7C252
Tritanopia (blue-blind)
#D8B8AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac44b;
/* rgb */ color: rgb(202, 196, 75);
/* oklch */ color: oklch(80.3% 0.141 106.5);
Tailwind
colors: {
  custom: {
    50: '#ddd583',
    500: '#cac44b',
    950: '#000000',
  },
}
SCSS
$custom: #cac44b;
$custom-light: #ddd583;
$custom-dark: #000000;
JSON
{
  "hex": "#cac44b",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 75
  },
  "hsl": {
    "h": 57.165,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80257,
    "c": 0.14091,
    "h": 106.5
  },
  "luminance": 0.52544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC44B

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

Preview Lab → · Contrast checker → · Palette generator →

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