#CAF45F#CAF45F

#CAF45F is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 90.9% C 0.180 H 123.3°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#CAF45F
RGBrgb(202, 244, 95)
HSLhsl(77, 87%, 66%)
HSVhsv(77, 61%, 96%)
CMYKcmyk(17.2%, 0%, 61.1%, 4.3%)
CIE-LABlab(90.82, -34.45, 65.40)
CIE-LCHlch(90.82, 73.92, 117.77°)
OKLaboklab(90.9% -0.0989 0.1503)
OKLCHoklch(90.9% 0.18 123.3)
XYZxyz(58.7738, 78.0838, 22.7996)
Luminance0.7808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF45F #895FF4
analogous
#F4D45F #CAF45F #80F45F
triadic
#CAF45F #5FCAF4 #F45FCA
tetradic
#CAF45F #5FF4D4 #895FF4 #F45F80
square
#CAF45F #5FF4D4 #895FF4 #F45F80
split-complementary
#CAF45F #5F80F4 #D45FF4
monochromatic
#95CB0E #B7F026 #CAF45F #DDF898 #F0FCD2

Accessibility & contrast

On white

1.26
#CAF45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#CAF45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF45F
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF45F#FFFFFF#000000##000000
##CAF45F1.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE64D
Deuteranopia (green-blind)
#FCE46A
Tritanopia (blue-blind)
#D3E9D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #caf45f;
/* rgb */ color: rgb(202, 244, 95);
/* oklch */ color: oklch(90.9% 0.180 123.3);
Tailwind
colors: {
  custom: {
    50: '#ddf792',
    500: '#caf45f',
    950: '#000000',
  },
}
SCSS
$custom: #caf45f;
$custom-light: #ddf792;
$custom-dark: #000000;
JSON
{
  "hex": "#caf45f",
  "rgb": {
    "r": 202,
    "g": 244,
    "b": 95
  },
  "hsl": {
    "h": 76.913,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90903,
    "c": 0.17993,
    "h": 123.3
  },
  "luminance": 0.78084
}

Semantic roles & 50–950 ramp

primary
#CAF45F
secondary
#5B30C7
accent
#02E441
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF45F

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

Preview Lab → · Contrast checker → · Palette generator →

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