#CACF3F#CACF3F

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

Color values

HEX#CACF3F
RGBrgb(202, 207, 63)
HSLhsl(62, 60%, 53%)
HSVhsv(62, 70%, 81%)
CMYKcmyk(2.4%, 0%, 69.6%, 18.8%)
CIE-LABlab(80.48, -18.90, 67.11)
CIE-LCHlch(80.48, 69.72, 105.73°)
OKLaboklab(82.53% -0.0586 0.1493)
OKLCHoklch(82.53% 0.16 111.4)
XYZxyz(47.5687, 57.5423, 13.3026)
Luminance0.5754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACF3F #443FCF
analogous
#CF8C3F #CACF3F #82CF3F
triadic
#CACF3F #3FCACF #CF3FCA
tetradic
#CACF3F #3FCF8C #443FCF #CF3F82
square
#CACF3F #3FCF8C #443FCF #CF3F82
split-complementary
#CACF3F #3F82CF #8C3FCF
monochromatic
#73761E #A3A72A #CACF3F #D8DB70 #E5E7A1

Accessibility & contrast

On white

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

On black

12.51
#CACF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACF3F
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACF3F#FFFFFF#000000##000000
##CACF3F1.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC627
Deuteranopia (green-blind)
#E0CA4A
Tritanopia (blue-blind)
#D8C2B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cacf3f;
/* rgb */ color: rgb(202, 207, 63);
/* oklch */ color: oklch(82.5% 0.160 111.4);
Tailwind
colors: {
  custom: {
    50: '#dedd7d',
    500: '#cacf3f',
    950: '#000000',
  },
}
SCSS
$custom: #cacf3f;
$custom-light: #dedd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cacf3f",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 63
  },
  "hsl": {
    "h": 62.083,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82526,
    "c": 0.16041,
    "h": 111.4
  },
  "luminance": 0.57541
}

Semantic roles & 50–950 ramp

primary
#CACF3F
secondary
#36347F
accent
#45E34A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CACF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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