#CAF074#CAF074

#CAF074 is a very light, vivid yellow-green. Relative luminance 0.761; OKLCH L 90.2% C 0.157 H 123.6°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#CAF074
RGBrgb(202, 240, 116)
HSLhsl(78, 81%, 70%)
HSVhsv(78, 52%, 94%)
CMYKcmyk(15.8%, 0%, 51.7%, 5.9%)
CIE-LABlab(89.92, -30.84, 55.25)
CIE-LCHlch(89.92, 63.28, 119.17°)
OKLaboklab(90.25% -0.087 0.1307)
OKLCHoklch(90.25% 0.157 123.6)
XYZxyz(58.6698, 76.1374, 28.1247)
Luminance0.7614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF074 #9A74F0
analogous
#F0D874 #CAF074 #8CF074
triadic
#CAF074 #74CAF0 #F074CA
tetradic
#CAF074 #74F0D8 #9A74F0 #F0748C
square
#CAF074 #74F0D8 #9A74F0 #F0748C
split-complementary
#CAF074 #748CF0 #D874F0
monochromatic
#99D317 #B5EA3D #CAF074 #DFF6AB #F4FCE2

Accessibility & contrast

On white

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

On black

16.23
#CAF074 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF074
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF074#FFFFFF#000000##000000
##CAF0741.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE368
Deuteranopia (green-blind)
#F7E27B
Tritanopia (blue-blind)
#D2E6D4
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #caf074;
/* rgb */ color: rgb(202, 240, 116);
/* oklch */ color: oklch(90.2% 0.157 123.6);
Tailwind
colors: {
  custom: {
    50: '#dcf59f',
    500: '#caf074',
    950: '#000000',
  },
}
SCSS
$custom: #caf074;
$custom-light: #dcf59f;
$custom-dark: #000000;
JSON
{
  "hex": "#caf074",
  "rgb": {
    "r": 202,
    "g": 240,
    "b": 116
  },
  "hsl": {
    "h": 78.387,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90246,
    "c": 0.15697,
    "h": 123.6
  },
  "luminance": 0.76138
}

Semantic roles & 50–950 ramp

primary
#CAF074
secondary
#693FC9
accent
#09DD4A
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF074

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

Preview Lab → · Contrast checker → · Palette generator →

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