#CACF45#CACF45

#CACF45 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.6% C 0.156 H 111.4°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#CACF45
RGBrgb(202, 207, 69)
HSLhsl(62, 59%, 54%)
HSVhsv(62, 67%, 81%)
CMYKcmyk(2.4%, 0%, 66.7%, 18.8%)
CIE-LABlab(80.52, -18.58, 64.91)
CIE-LCHlch(80.52, 67.52, 105.97°)
OKLaboklab(82.57% -0.0571 0.1457)
OKLCHoklch(82.57% 0.156 111.4)
XYZxyz(47.7456, 57.6130, 14.2344)
Luminance0.5761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACF45 #4A45CF
analogous
#CF8F45 #CACF45 #85CF45
triadic
#CACF45 #45CACF #CF45CA
tetradic
#CACF45 #45CF8F #4A45CF #CF4585
square
#CACF45 #45CF8F #4A45CF #CF4585
split-complementary
#CACF45 #4585CF #8F45CF
monochromatic
#777A20 #A6AB2C #CACF45 #D8DC76 #E6E8A6

Accessibility & contrast

On white

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

On black

12.52
#CACF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACF45
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACF45#FFFFFF#000000##000000
##CACF451.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC631
Deuteranopia (green-blind)
#DFCA4F
Tritanopia (blue-blind)
#D7C3B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cacf45;
/* rgb */ color: rgb(202, 207, 69);
/* oklch */ color: oklch(82.6% 0.156 111.4);
Tailwind
colors: {
  custom: {
    50: '#dddd80',
    500: '#cacf45',
    950: '#000000',
  },
}
SCSS
$custom: #cacf45;
$custom-light: #dddd80;
$custom-dark: #000000;
JSON
{
  "hex": "#cacf45",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 62.174,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.8257,
    "c": 0.15647,
    "h": 111.4
  },
  "luminance": 0.57612
}

Semantic roles & 50–950 ramp

primary
#CACF45
secondary
#393682
accent
#46E24B
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CACF45

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

Preview Lab → · Contrast checker → · Palette generator →

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