#CAF267#CAF267

#CAF267 is a very light, vivid yellow-green. Relative luminance 0.770; OKLCH L 90.5% C 0.171 H 123.3°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#CAF267
RGBrgb(202, 242, 103)
HSLhsl(77, 84%, 68%)
HSVhsv(77, 57%, 95%)
CMYKcmyk(16.5%, 0%, 57.4%, 5.1%)
CIE-LABlab(90.34, -32.91, 61.51)
CIE-LCHlch(90.34, 69.76, 118.15°)
OKLaboklab(90.54% -0.0939 0.1429)
OKLCHoklch(90.54% 0.171 123.3)
XYZxyz(58.5578, 77.0398, 24.6145)
Luminance0.7704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF267 #8F67F2
analogous
#F2D467 #CAF267 #85F267
triadic
#CAF267 #67CAF2 #F267CA
tetradic
#CAF267 #67F2D4 #8F67F2 #F26785
square
#CAF267 #67F2D4 #8F67F2 #F26785
split-complementary
#CAF267 #6785F2 #D467F2
monochromatic
#97CD12 #B6ED2F #CAF267 #DEF79F #F1FCD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAF267#FFFFFF#000000##000000
##CAF2671.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)
#FFE458
Deuteranopia (green-blind)
#F9E370
Tritanopia (blue-blind)
#D3E7D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #caf267;
/* rgb */ color: rgb(202, 242, 103);
/* oklch */ color: oklch(90.5% 0.171 123.3);
Tailwind
colors: {
  custom: {
    50: '#ddf697',
    500: '#caf267',
    950: '#000000',
  },
}
SCSS
$custom: #caf267;
$custom-light: #ddf697;
$custom-dark: #000000;
JSON
{
  "hex": "#caf267",
  "rgb": {
    "r": 202,
    "g": 242,
    "b": 103
  },
  "hsl": {
    "h": 77.266,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.9054,
    "c": 0.17101,
    "h": 123.3
  },
  "luminance": 0.7704
}

Semantic roles & 50–950 ramp

primary
#CAF267
secondary
#5F34C9
accent
#05E144
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CAF267

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

Preview Lab → · Contrast checker → · Palette generator →

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