#CAF67B#CAF67B

#CAF67B is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.7% C 0.158 H 125.6°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#CAF67B
RGBrgb(202, 246, 123)
HSLhsl(81, 87%, 72%)
HSVhsv(81, 50%, 96%)
CMYKcmyk(17.9%, 0%, 50%, 3.5%)
CIE-LABlab(91.64, -32.94, 54.08)
CIE-LCHlch(91.64, 63.32, 121.34°)
OKLaboklab(91.65% -0.0923 0.1287)
OKLCHoklch(91.65% 0.158 125.6)
XYZxyz(60.8879, 79.8976, 30.9490)
Luminance0.7990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAF67B #A77BF6
analogous
#F6E47B #CAF67B #8DF67B
triadic
#CAF67B #7BCAF6 #F67BCA
tetradic
#CAF67B #7BF6E4 #A77BF6 #F67B8D
square
#CAF67B #7BF6E4 #A77BF6 #F67B8D
split-complementary
#CAF67B #7B8DF6 #E47BF6
monochromatic
#9AE710 #B3F242 #CAF67B #E1FAB4 #F3FDE2

Accessibility & contrast

On white

1.24
#CAF67B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.98
#CAF67B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAF67B
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAF67B#FFFFFF#000000##000000
##CAF67B1.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE970
Deuteranopia (green-blind)
#FBE682
Tritanopia (blue-blind)
#D1ECDA
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #caf67b;
/* rgb */ color: rgb(202, 246, 123);
/* oklch */ color: oklch(91.7% 0.158 125.6);
Tailwind
colors: {
  custom: {
    50: '#dcf9a4',
    500: '#caf67b',
    950: '#000000',
  },
}
SCSS
$custom: #caf67b;
$custom-light: #dcf9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#caf67b",
  "rgb": {
    "r": 202,
    "g": 246,
    "b": 123
  },
  "hsl": {
    "h": 81.463,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.91653,
    "c": 0.15833,
    "h": 125.6
  },
  "luminance": 0.79898
}

Semantic roles & 50–950 ramp

primary
#CAF67B
secondary
#7644D2
accent
#02E453
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CAF67B

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

Preview Lab → · Contrast checker → · Palette generator →

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