#CAF273#CAF273

#CAF273 is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.7% C 0.161 H 124.1°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#CAF273
RGBrgb(202, 242, 115)
HSLhsl(79, 83%, 70%)
HSVhsv(79, 52%, 95%)
CMYKcmyk(16.5%, 0%, 52.5%, 5.1%)
CIE-LABlab(90.46, -31.86, 56.34)
CIE-LCHlch(90.46, 64.73, 119.49°)
OKLaboklab(90.67% -0.0899 0.133)
OKLCHoklch(90.67% 0.161 124.1)
XYZxyz(59.2039, 77.2983, 28.0173)
Luminance0.7730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF273 #9B73F2
analogous
#F2DB73 #CAF273 #8AF273
triadic
#CAF273 #73CAF2 #F273CA
tetradic
#CAF273 #73F2DB #9B73F2 #F2738A
square
#CAF273 #73F2DB #9B73F2 #F2738A
split-complementary
#CAF273 #738AF2 #DB73F2
monochromatic
#99D714 #B5ED3B #CAF273 #DFF7AB #F4FCE3

Accessibility & contrast

On white

1.28
#CAF273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.46
#CAF273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF273
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF273#FFFFFF#000000##000000
##CAF2731.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE567
Deuteranopia (green-blind)
#F8E37B
Tritanopia (blue-blind)
#D2E8D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #caf273;
/* rgb */ color: rgb(202, 242, 115);
/* oklch */ color: oklch(90.7% 0.161 124.1);
Tailwind
colors: {
  custom: {
    50: '#dcf69e',
    500: '#caf273',
    950: '#000000',
  },
}
SCSS
$custom: #caf273;
$custom-light: #dcf69e;
$custom-dark: #000000;
JSON
{
  "hex": "#caf273",
  "rgb": {
    "r": 202,
    "g": 242,
    "b": 115
  },
  "hsl": {
    "h": 78.898,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.90674,
    "c": 0.1605,
    "h": 124.1
  },
  "luminance": 0.77299
}

Semantic roles & 50–950 ramp

primary
#CAF273
secondary
#6A3DCC
accent
#06DF4B
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF273

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

Preview Lab → · Contrast checker → · Palette generator →

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