#CBF781#CBF781

#CBF781 is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 92.0% C 0.154 H 126.1°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#CBF781
RGBrgb(203, 247, 129)
HSLhsl(82, 88%, 74%)
HSVhsv(82, 48%, 97%)
CMYKcmyk(17.8%, 0%, 47.8%, 3.1%)
CIE-LABlab(92.04, -32.42, 51.80)
CIE-LCHlch(92.04, 61.11, 122.04°)
OKLaboklab(92.02% -0.0904 0.1241)
OKLCHoklch(92.02% 0.154 126.1)
XYZxyz(61.8516, 80.8024, 33.1025)
Luminance0.8080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF781 #AD81F7
analogous
#F7E881 #CBF781 #90F781
triadic
#CBF781 #81CBF7 #F781CB
tetradic
#CBF781 #81F7E8 #AD81F7 #F78190
square
#CBF781 #81F7E8 #AD81F7 #F78190
split-complementary
#CBF781 #8190F7 #E881F7
monochromatic
#9BEE0F #B3F347 #CBF781 #E3FBBB #F3FDE2

Accessibility & contrast

On white

1.22
#CBF781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.16
#CBF781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF781
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF781#FFFFFF#000000##000000
##CBF7811.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA77
Deuteranopia (green-blind)
#FCE888
Tritanopia (blue-blind)
#D1EEDC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #cbf781;
/* rgb */ color: rgb(203, 247, 129);
/* oklch */ color: oklch(92.0% 0.154 126.1);
Tailwind
colors: {
  custom: {
    50: '#ddfaa8',
    500: '#cbf781',
    950: '#000000',
  },
}
SCSS
$custom: #cbf781;
$custom-light: #ddfaa8;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf781",
  "rgb": {
    "r": 203,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 82.373,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92017,
    "c": 0.15351,
    "h": 126.1
  },
  "luminance": 0.80803
}

Semantic roles & 50–950 ramp

primary
#CBF781
secondary
#7C49D4
accent
#01E556
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CBF781

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

Preview Lab → · Contrast checker → · Palette generator →

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