#CAF45C#CAF45C

#CAF45C is a very light, vivid yellow-green. Relative luminance 0.780; OKLCH L 90.9% C 0.182 H 123.2°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#CAF45C
RGBrgb(202, 244, 92)
HSLhsl(77, 87%, 66%)
HSVhsv(77, 62%, 96%)
CMYKcmyk(17.2%, 0%, 62.3%, 4.3%)
CIE-LABlab(90.79, -34.67, 66.60)
CIE-LCHlch(90.79, 75.08, 117.50°)
OKLaboklab(90.88% -0.0997 0.1525)
OKLCHoklch(90.88% 0.182 123.2)
XYZxyz(58.6401, 78.0303, 22.0952)
Luminance0.7803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF45C #865CF4
analogous
#F4D25C #CAF45C #7EF45C
triadic
#CAF45C #5CCAF4 #F45CCA
tetradic
#CAF45C #5CF4D2 #865CF4 #F45C7E
square
#CAF45C #5CF4D2 #865CF4 #F45C7E
split-complementary
#CAF45C #5C7EF4 #D25CF4
monochromatic
#95C80E #B7F023 #CAF45C #DDF895 #EFFCCF

Accessibility & contrast

On white

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

On black

16.61
#CAF45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF45C
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF45C#FFFFFF#000000##000000
##CAF45C1.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE649
Deuteranopia (green-blind)
#FCE467
Tritanopia (blue-blind)
#D3E9D4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #caf45c;
/* rgb */ color: rgb(202, 244, 92);
/* oklch */ color: oklch(90.9% 0.182 123.2);
Tailwind
colors: {
  custom: {
    50: '#ddf790',
    500: '#caf45c',
    950: '#000000',
  },
}
SCSS
$custom: #caf45c;
$custom-light: #ddf790;
$custom-dark: #000000;
JSON
{
  "hex": "#caf45c",
  "rgb": {
    "r": 202,
    "g": 244,
    "b": 92
  },
  "hsl": {
    "h": 76.579,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.90875,
    "c": 0.1822,
    "h": 123.2
  },
  "luminance": 0.78031
}

Semantic roles & 50–950 ramp

primary
#CAF45C
secondary
#592FC5
accent
#02E440
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF45C

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

Preview Lab → · Contrast checker → · Palette generator →

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