#CAC237#CAC237

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

Color values

HEX#CAC237
RGBrgb(202, 194, 55)
HSLhsl(57, 58%, 50%)
HSVhsv(57, 73%, 79%)
CMYKcmyk(0%, 4%, 72.8%, 20.8%)
CIE-LABlab(76.93, -12.78, 66.51)
CIE-LCHlch(76.93, 67.73, 100.88°)
OKLaboklab(79.68% -0.0422 0.1467)
OKLCHoklch(79.68% 0.153 106)
XYZxyz(44.3403, 51.4176, 11.2026)
Luminance0.5142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC237 #373FCA
analogous
#CA7937 #CAC237 #88CA37
triadic
#CAC237 #37CAC2 #C237CA
tetradic
#CAC237 #37CA79 #373FCA #CA3788
square
#CAC237 #37CA79 #373FCA #CA3788
split-complementary
#CAC237 #3788CA #7937CA
monochromatic
#6A661C #9B9529 #CAC237 #D7D167 #E4E098

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC237#FFFFFF#000000##000000
##CAC2371.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)
#D3BB1C
Deuteranopia (green-blind)
#D6C041
Tritanopia (blue-blind)
#D9B5A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac237;
/* rgb */ color: rgb(202, 194, 55);
/* oklch */ color: oklch(79.7% 0.153 106.0);
Tailwind
colors: {
  custom: {
    50: '#ded478',
    500: '#cac237',
    950: '#000000',
  },
}
SCSS
$custom: #cac237;
$custom-light: #ded478;
$custom-dark: #000000;
JSON
{
  "hex": "#cac237",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 55
  },
  "hsl": {
    "h": 56.735,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.79675,
    "c": 0.15262,
    "h": 106
  },
  "luminance": 0.51416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAC237

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

Preview Lab → · Contrast checker → · Palette generator →

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