#CAC236#CAC236

#CAC236 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.7% C 0.153 H 106.1°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#CAC236
RGBrgb(202, 194, 54)
HSLhsl(57, 58%, 50%)
HSVhsv(57, 73%, 79%)
CMYKcmyk(0%, 4%, 73.3%, 20.8%)
CIE-LABlab(76.93, -12.83, 66.85)
CIE-LCHlch(76.93, 68.07, 100.86°)
OKLaboklab(79.67% -0.0424 0.1472)
OKLCHoklch(79.67% 0.153 106.1)
XYZxyz(44.3166, 51.4081, 11.0777)
Luminance0.5141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC236 #363ECA
analogous
#CA7836 #CAC236 #88CA36
triadic
#CAC236 #36CAC2 #C236CA
tetradic
#CAC236 #36CA78 #363ECA #CA3688
square
#CAC236 #36CA78 #363ECA #CA3688
split-complementary
#CAC236 #3688CA #7836CA
monochromatic
#6A661C #9A9429 #CAC236 #D7D166 #E4DF97

Accessibility & contrast

On white

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

On black

11.28
#CAC236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC236
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC236#FFFFFF#000000##000000
##CAC2361.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1A
Deuteranopia (green-blind)
#D6C040
Tritanopia (blue-blind)
#D9B5A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac236;
/* rgb */ color: rgb(202, 194, 54);
/* oklch */ color: oklch(79.7% 0.153 106.1);
Tailwind
colors: {
  custom: {
    50: '#ded477',
    500: '#cac236',
    950: '#000000',
  },
}
SCSS
$custom: #cac236;
$custom-light: #ded477;
$custom-dark: #000000;
JSON
{
  "hex": "#cac236",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 54
  },
  "hsl": {
    "h": 56.757,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79668,
    "c": 0.15319,
    "h": 106.1
  },
  "luminance": 0.51406
}

Semantic roles & 50–950 ramp

primary
#CAC236
secondary
#313474
accent
#4FE146
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC236

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

Preview Lab → · Contrast checker → · Palette generator →

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