#CACF3A#CACF3A

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

Color values

HEX#CACF3A
RGBrgb(202, 207, 58)
HSLhsl(62, 61%, 52%)
HSVhsv(62, 72%, 81%)
CMYKcmyk(2.4%, 0%, 72%, 18.8%)
CIE-LABlab(80.45, -19.14, 68.84)
CIE-LCHlch(80.45, 71.45, 105.54°)
OKLaboklab(82.49% -0.0597 0.1521)
OKLCHoklch(82.49% 0.163 111.4)
XYZxyz(47.4352, 57.4889, 12.5999)
Luminance0.5749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACF3A #3F3ACF
analogous
#CF893A #CACF3A #80CF3A
triadic
#CACF3A #3ACACF #CF3ACA
tetradic
#CACF3A #3ACF89 #3F3ACF #CF3A80
square
#CACF3A #3ACF89 #3F3ACF #CF3A80
split-complementary
#CACF3A #3A80CF #893ACF
monochromatic
#70731C #A0A428 #CACF3A #D7DB6B #E4E79C

Accessibility & contrast

On white

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

On black

12.50
#CACF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACF3A
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACF3A#FFFFFF#000000##000000
##CACF3A1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cacf3a;
/* rgb */ color: rgb(202, 207, 58);
/* oklch */ color: oklch(82.5% 0.163 111.4);
Tailwind
colors: {
  custom: {
    50: '#dedd7b',
    500: '#cacf3a',
    950: '#000000',
  },
}
SCSS
$custom: #cacf3a;
$custom-light: #dedd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cacf3a",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 58
  },
  "hsl": {
    "h": 62.013,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.82493,
    "c": 0.16342,
    "h": 111.4
  },
  "luminance": 0.57488
}

Semantic roles & 50–950 ramp

primary
#CACF3A
secondary
#34327B
accent
#44E449
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CACF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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