#CBF787#CBF787

#CBF787 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.1% C 0.148 H 126.7°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#CBF787
RGBrgb(203, 247, 135)
HSLhsl(84, 88%, 75%)
HSVhsv(84, 45%, 97%)
CMYKcmyk(17.8%, 0%, 45.3%, 3.1%)
CIE-LABlab(92.12, -31.78, 49.06)
CIE-LCHlch(92.12, 58.45, 122.93°)
OKLaboklab(92.1% -0.0882 0.1183)
OKLCHoklch(92.1% 0.148 126.7)
XYZxyz(62.2622, 80.9666, 35.2649)
Luminance0.8097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF787 #B387F7
analogous
#F7EB87 #CBF787 #93F787
triadic
#CBF787 #87CBF7 #F787CB
tetradic
#CBF787 #87F7EB #B387F7 #F78793
square
#CBF787 #87F7EB #B387F7 #F78793
split-complementary
#CBF787 #8793F7 #EB87F7
monochromatic
#99EF14 #B2F34E #CBF787 #E4FBC0 #F3FDE2

Accessibility & contrast

On white

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

On black

17.19
#CBF787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF787
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF787#FFFFFF#000000##000000
##CBF7871.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7E
Deuteranopia (green-blind)
#FBE88D
Tritanopia (blue-blind)
#D1EEDD
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #cbf787;
/* rgb */ color: rgb(203, 247, 135);
/* oklch */ color: oklch(92.1% 0.148 126.7);
Tailwind
colors: {
  custom: {
    50: '#dcfaac',
    500: '#cbf787',
    950: '#000000',
  },
}
SCSS
$custom: #cbf787;
$custom-light: #dcfaac;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf787",
  "rgb": {
    "r": 203,
    "g": 247,
    "b": 135
  },
  "hsl": {
    "h": 83.571,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.921,
    "c": 0.14759,
    "h": 126.7
  },
  "luminance": 0.80967
}

Semantic roles & 50–950 ramp

primary
#CBF787
secondary
#834ED4
accent
#01E45A
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CBF787

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

Preview Lab → · Contrast checker → · Palette generator →

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