#CAFBA2#CAFBA2

#CAFBA2 is a very light, vivid yellow-green. Relative luminance 0.842; OKLCH L 93.3% C 0.126 H 131.9°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#CAFBA2
RGBrgb(202, 251, 162)
HSLhsl(93, 92%, 81%)
HSVhsv(93, 35%, 98%)
CMYKcmyk(19.5%, 0%, 35.5%, 1.6%)
CIE-LABlab(93.52, -30.70, 37.70)
CIE-LCHlch(93.52, 48.62, 129.16°)
OKLaboklab(93.34% -0.0838 0.0935)
OKLCHoklch(93.34% 0.126 131.9)
XYZxyz(65.3747, 84.1583, 46.9753)
Luminance0.8416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAFBA2 #D3A2FB
analogous
#F6FBA2 #CAFBA2 #A2FBA6
triadic
#CAFBA2 #A2CAFB #FBA2CA
tetradic
#CAFBA2 #A2F6FB #D3A2FB #FBA6A2
square
#CAFBA2 #A2F6FB #D3A2FB #FBA6A2
split-complementary
#CAFBA2 #A6A2FB #FBA2F6
monochromatic
#87F62D #A9F867 #CAFBA2 #EBFEDD #EEFEE2

Accessibility & contrast

On white

1.18
#CAFBA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.83
#CAFBA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAFBA2
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAFBA2#FFFFFF#000000##000000
##CAFBA21.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF9C
Deuteranopia (green-blind)
#FBEBA7
Tritanopia (blue-blind)
#CCF4E4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #cafba2;
/* rgb */ color: rgb(202, 251, 162);
/* oklch */ color: oklch(93.3% 0.126 131.9);
Tailwind
colors: {
  custom: {
    50: '#dbfcbe',
    500: '#cafba2',
    950: '#000000',
  },
}
SCSS
$custom: #cafba2;
$custom-light: #dbfcbe;
$custom-dark: #000000;
JSON
{
  "hex": "#cafba2",
  "rgb": {
    "r": 202,
    "g": 251,
    "b": 162
  },
  "hsl": {
    "h": 93.034,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.93335,
    "c": 0.12559,
    "h": 131.9
  },
  "luminance": 0.8416
}

Semantic roles & 50–950 ramp

primary
#CAFBA2
secondary
#A764DD
accent
#00E67E
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151712
muted
#848582

Preview Lab

Preview with #CAFBA2

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

Preview Lab → · Contrast checker → · Palette generator →

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