#CACF37#CACF37

#CACF37 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.5% C 0.165 H 111.4°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#CACF37
RGBrgb(202, 207, 55)
HSLhsl(62, 61%, 51%)
HSVhsv(62, 73%, 81%)
CMYKcmyk(2.4%, 0%, 73.4%, 18.8%)
CIE-LABlab(80.44, -19.28, 69.83)
CIE-LCHlch(80.44, 72.44, 105.44°)
OKLaboklab(82.47% -0.0603 0.1537)
OKLCHoklch(82.47% 0.165 111.4)
XYZxyz(47.3611, 57.4593, 12.2096)
Luminance0.5746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACF37 #3C37CF
analogous
#CF8837 #CACF37 #7ECF37
triadic
#CACF37 #37CACF #CF37CA
tetradic
#CACF37 #37CF88 #3C37CF #CF377E
square
#CACF37 #37CF88 #3C37CF #CF377E
split-complementary
#CACF37 #377ECF #8837CF
monochromatic
#6E711B #9EA227 #CACF37 #D7DB68 #E4E79A

Accessibility & contrast

On white

1.68
#CACF37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#CACF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACF37
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACF37#FFFFFF#000000##000000
##CACF371.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC616
Deuteranopia (green-blind)
#E0C943
Tritanopia (blue-blind)
#D8C2B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cacf37;
/* rgb */ color: rgb(202, 207, 55);
/* oklch */ color: oklch(82.5% 0.165 111.4);
Tailwind
colors: {
  custom: {
    50: '#dedd79',
    500: '#cacf37',
    950: '#000000',
  },
}
SCSS
$custom: #cacf37;
$custom-light: #dedd79;
$custom-dark: #000000;
JSON
{
  "hex": "#cacf37",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 55
  },
  "hsl": {
    "h": 61.974,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.82474,
    "c": 0.16512,
    "h": 111.4
  },
  "luminance": 0.57458
}

Semantic roles & 50–950 ramp

primary
#CACF37
secondary
#33317A
accent
#43E449
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CACF37

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

Preview Lab → · Contrast checker → · Palette generator →

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