#CAF268#CAF268

#CAF268 is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.6% C 0.170 H 123.4°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#CAF268
RGBrgb(202, 242, 104)
HSLhsl(77, 84%, 68%)
HSVhsv(77, 57%, 95%)
CMYKcmyk(16.5%, 0%, 57%, 5.1%)
CIE-LABlab(90.35, -32.83, 61.09)
CIE-LCHlch(90.35, 69.35, 118.25°)
OKLaboklab(90.55% -0.0936 0.1421)
OKLCHoklch(90.55% 0.17 123.4)
XYZxyz(58.6083, 77.0600, 24.8804)
Luminance0.7706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF268 #9068F2
analogous
#F2D568 #CAF268 #85F268
triadic
#CAF268 #68CAF2 #F268CA
tetradic
#CAF268 #68F2D5 #9068F2 #F26885
square
#CAF268 #68F2D5 #9068F2 #F26885
split-complementary
#CAF268 #6885F2 #D568F2
monochromatic
#97CE12 #B6ED30 #CAF268 #DEF7A0 #F2FCD9

Accessibility & contrast

On white

1.28
#CAF268 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.41
#CAF268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF268
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF268#FFFFFF#000000##000000
##CAF2681.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE459
Deuteranopia (green-blind)
#F9E371
Tritanopia (blue-blind)
#D3E7D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #caf268;
/* rgb */ color: rgb(202, 242, 104);
/* oklch */ color: oklch(90.6% 0.170 123.4);
Tailwind
colors: {
  custom: {
    50: '#ddf697',
    500: '#caf268',
    950: '#000000',
  },
}
SCSS
$custom: #caf268;
$custom-light: #ddf697;
$custom-dark: #000000;
JSON
{
  "hex": "#caf268",
  "rgb": {
    "r": 202,
    "g": 242,
    "b": 104
  },
  "hsl": {
    "h": 77.391,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90551,
    "c": 0.17017,
    "h": 123.4
  },
  "luminance": 0.7706
}

Semantic roles & 50–950 ramp

primary
#CAF268
secondary
#6034CA
accent
#05E145
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAF268

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

Preview Lab → · Contrast checker → · Palette generator →

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