#CAC248#CAC248

#CAC248 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.8% C 0.141 H 105.6°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#CAC248
RGBrgb(202, 194, 72)
HSLhsl(56, 55%, 54%)
HSVhsv(56, 64%, 79%)
CMYKcmyk(0%, 4%, 64.4%, 20.8%)
CIE-LABlab(77.05, -11.89, 60.13)
CIE-LCHlch(77.05, 61.30, 101.18°)
OKLaboklab(79.8% -0.0379 0.1361)
OKLCHoklch(79.8% 0.141 105.6)
XYZxyz(44.8202, 51.6096, 13.7303)
Luminance0.5161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC248 #4850CA
analogous
#CA8148 #CAC248 #91CA48
triadic
#CAC248 #48CAC2 #C248CA
tetradic
#CAC248 #48CA81 #4850CA #CA4891
square
#CAC248 #48CA81 #4850CA #CA4891
split-complementary
#CAC248 #4891CA #8148CA
monochromatic
#767022 #A59E30 #CAC248 #D8D277 #E5E2A7

Accessibility & contrast

On white

1.85
#CAC248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#CAC248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC248
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC248#FFFFFF#000000##000000
##CAC2481.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB38
Deuteranopia (green-blind)
#D5C14F
Tritanopia (blue-blind)
#D8B6A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac248;
/* rgb */ color: rgb(202, 194, 72);
/* oklch */ color: oklch(79.8% 0.141 105.6);
Tailwind
colors: {
  custom: {
    50: '#ddd481',
    500: '#cac248',
    950: '#000000',
  },
}
SCSS
$custom: #cac248;
$custom-light: #ddd481;
$custom-dark: #000000;
JSON
{
  "hex": "#cac248",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 72
  },
  "hsl": {
    "h": 56.308,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79804,
    "c": 0.14125,
    "h": 105.6
  },
  "luminance": 0.51608
}

Semantic roles & 50–950 ramp

primary
#CAC248
secondary
#383C7E
accent
#53DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC248

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

Preview Lab → · Contrast checker → · Palette generator →

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