#CAF05C#CAF05C

#CAF05C is a very light, vivid yellow-green. Relative luminance 0.756; OKLCH L 90.0% C 0.177 H 122.3°. Best body text is #000000 at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#CAF05C
RGBrgb(202, 240, 92)
HSLhsl(75, 83%, 65%)
HSVhsv(75, 62%, 94%)
CMYKcmyk(15.8%, 0%, 61.7%, 5.9%)
CIE-LABlab(89.70, -32.83, 65.41)
CIE-LCHlch(89.70, 73.19, 116.65°)
OKLaboklab(89.99% -0.0947 0.15)
OKLCHoklch(89.99% 0.177 122.3)
XYZxyz(57.4496, 75.6493, 21.6983)
Luminance0.7565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF05C #825CF0
analogous
#F0CC5C #CAF05C #80F05C
triadic
#CAF05C #5CCAF0 #F05CCA
tetradic
#CAF05C #5CF0CC #825CF0 #F05C80
square
#CAF05C #5CF0CC #825CF0 #F05C80
split-complementary
#CAF05C #5C80F0 #CC5CF0
monochromatic
#93C012 #B8EB24 #CAF05C #DCF594 #EEFACC

Accessibility & contrast

On white

1.30
#CAF05C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.13
#CAF05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF05C
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF05C#FFFFFF#000000##000000
##CAF05C1.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE24A
Deuteranopia (green-blind)
#F8E166
Tritanopia (blue-blind)
#D4E5D1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #caf05c;
/* rgb */ color: rgb(202, 240, 92);
/* oklch */ color: oklch(90.0% 0.177 122.3);
Tailwind
colors: {
  custom: {
    50: '#ddf590',
    500: '#caf05c',
    950: '#000000',
  },
}
SCSS
$custom: #caf05c;
$custom-light: #ddf590;
$custom-dark: #000000;
JSON
{
  "hex": "#caf05c",
  "rgb": {
    "r": 202,
    "g": 240,
    "b": 92
  },
  "hsl": {
    "h": 75.405,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.89991,
    "c": 0.17735,
    "h": 122.3
  },
  "luminance": 0.75649
}

Semantic roles & 50–950 ramp

primary
#CAF05C
secondary
#5632BE
accent
#06E03E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CAF05C

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

Preview Lab → · Contrast checker → · Palette generator →

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