#CAC246#CAC246

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

Color values

HEX#CAC246
RGBrgb(202, 194, 70)
HSLhsl(56, 55%, 53%)
HSVhsv(56, 65%, 79%)
CMYKcmyk(0%, 4%, 65.3%, 20.8%)
CIE-LABlab(77.03, -12.00, 60.94)
CIE-LCHlch(77.03, 62.11, 101.14°)
OKLaboklab(79.79% -0.0384 0.1375)
OKLCHoklch(79.79% 0.143 105.6)
XYZxyz(44.7561, 51.5839, 13.3923)
Luminance0.5158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC246 #464ECA
analogous
#CA8046 #CAC246 #90CA46
triadic
#CAC246 #46CAC2 #C246CA
tetradic
#CAC246 #46CA80 #464ECA #CA4690
square
#CAC246 #46CA80 #464ECA #CA4690
split-complementary
#CAC246 #4690CA #8046CA
monochromatic
#746F21 #A49D2F #CAC246 #D8D276 #E5E1A5

Accessibility & contrast

On white

1.86
#CAC246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC246#FFFFFF#000000##000000
##CAC2461.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB35
Deuteranopia (green-blind)
#D5C14E
Tritanopia (blue-blind)
#D8B5A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac246;
/* rgb */ color: rgb(202, 194, 70);
/* oklch */ color: oklch(79.8% 0.143 105.6);
Tailwind
colors: {
  custom: {
    50: '#ddd480',
    500: '#cac246',
    950: '#000000',
  },
}
SCSS
$custom: #cac246;
$custom-light: #ddd480;
$custom-dark: #000000;
JSON
{
  "hex": "#cac246",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 70
  },
  "hsl": {
    "h": 56.364,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79787,
    "c": 0.14274,
    "h": 105.6
  },
  "luminance": 0.51582
}

Semantic roles & 50–950 ramp

primary
#CAC246
secondary
#373B7D
accent
#52DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CAC246

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

Preview Lab → · Contrast checker → · Palette generator →

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