#CACF5F#CACF5F

#CACF5F is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.8% C 0.136 H 111.3°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#CACF5F
RGBrgb(202, 207, 95)
HSLhsl(63, 54%, 59%)
HSVhsv(63, 54%, 81%)
CMYKcmyk(2.4%, 0%, 54.1%, 18.8%)
CIE-LABlab(80.74, -16.80, 54.16)
CIE-LCHlch(80.74, 56.70, 107.24°)
OKLaboklab(82.82% -0.0494 0.1263)
OKLCHoklch(82.82% 0.136 111.3)
XYZxyz(48.7366, 58.0095, 19.4538)
Luminance0.5801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACF5F #645FCF
analogous
#CF9C5F #CACF5F #92CF5F
triadic
#CACF5F #5FCACF #CF5FCA
tetradic
#CACF5F #5FCF9C #645FCF #CF5F92
square
#CACF5F #5FCF9C #645FCF #CF5F92
split-complementary
#CACF5F #5F92CF #9C5FCF
monochromatic
#868A29 #B3B938 #CACF5F #DADD8E #E9EBBD

Accessibility & contrast

On white

1.67
#CACF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#CACF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACF5F
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACF5F#FFFFFF#000000##000000
##CACF5F1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC754
Deuteranopia (green-blind)
#DECA65
Tritanopia (blue-blind)
#D6C4B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cacf5f;
/* rgb */ color: rgb(202, 207, 95);
/* oklch */ color: oklch(82.8% 0.136 111.3);
Tailwind
colors: {
  custom: {
    50: '#dcdd90',
    500: '#cacf5f',
    950: '#000000',
  },
}
SCSS
$custom: #cacf5f;
$custom-light: #dcdd90;
$custom-dark: #000000;
JSON
{
  "hex": "#cacf5f",
  "rgb": {
    "r": 202,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 62.679,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82818,
    "c": 0.13562,
    "h": 111.3
  },
  "luminance": 0.58008
}

Semantic roles & 50–950 ramp

primary
#CACF5F
secondary
#454191
accent
#4BDD51
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CACF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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