#CAF078#CAF078

#CAF078 is a very light, vivid yellow-green. Relative luminance 0.762; OKLCH L 90.3% C 0.153 H 124.0°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#CAF078
RGBrgb(202, 240, 120)
HSLhsl(79, 80%, 71%)
HSVhsv(79, 50%, 94%)
CMYKcmyk(15.8%, 0%, 50%, 5.9%)
CIE-LABlab(89.97, -30.46, 53.47)
CIE-LCHlch(89.97, 61.53, 119.67°)
OKLaboklab(90.3% -0.0856 0.1271)
OKLCHoklch(90.3% 0.153 124)
XYZxyz(58.9074, 76.2325, 29.3766)
Luminance0.7623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF078 #9E78F0
analogous
#F0DA78 #CAF078 #8EF078
triadic
#CAF078 #78CAF0 #F078CA
tetradic
#CAF078 #78F0DA #9E78F0 #F0788E
square
#CAF078 #78F0DA #9E78F0 #F0788E
split-complementary
#CAF078 #788EF0 #DA78F0
monochromatic
#9AD618 #B4EA41 #CAF078 #E0F6AF #F4FCE3

Accessibility & contrast

On white

1.29
#CAF078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#CAF078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF078
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF078#FFFFFF#000000##000000
##CAF0781.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36D
Deuteranopia (green-blind)
#F6E27F
Tritanopia (blue-blind)
#D2E6D5
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #caf078;
/* rgb */ color: rgb(202, 240, 120);
/* oklch */ color: oklch(90.3% 0.153 124.0);
Tailwind
colors: {
  custom: {
    50: '#dcf5a2',
    500: '#caf078',
    950: '#000000',
  },
}
SCSS
$custom: #caf078;
$custom-light: #dcf5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#caf078",
  "rgb": {
    "r": 202,
    "g": 240,
    "b": 120
  },
  "hsl": {
    "h": 79,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90296,
    "c": 0.15322,
    "h": 124
  },
  "luminance": 0.76233
}

Semantic roles & 50–950 ramp

primary
#CAF078
secondary
#6D42CA
accent
#09DC4C
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF078

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

Preview Lab → · Contrast checker → · Palette generator →

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