#CBF981#CBF981

#CBF981 is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.5% C 0.156 H 126.5°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#CBF981
RGBrgb(203, 249, 129)
HSLhsl(83, 91%, 74%)
HSVhsv(83, 48%, 98%)
CMYKcmyk(18.5%, 0%, 48.2%, 2.4%)
CIE-LABlab(92.59, -33.34, 52.46)
CIE-LCHlch(92.59, 62.16, 122.44°)
OKLaboklab(92.46% -0.093 0.1255)
OKLCHoklch(92.46% 0.156 126.5)
XYZxyz(62.4665, 82.0321, 33.3074)
Luminance0.8203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF981 #AF81F9
analogous
#F9EB81 #CBF981 #8FF981
triadic
#CBF981 #81CBF9 #F981CB
tetradic
#CBF981 #81F9EB #AF81F9 #F9818F
square
#CBF981 #81F9EB #AF81F9 #F9818F
split-complementary
#CBF981 #818FF9 #EB81F9
monochromatic
#9BF30C #B3F647 #CBF981 #E3FCBB #F3FEE2

Accessibility & contrast

On white

1.21
#CBF981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.41
#CBF981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF981
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF981#FFFFFF#000000##000000
##CBF9811.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC77
Deuteranopia (green-blind)
#FDE988
Tritanopia (blue-blind)
#D1F0DD
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cbf981;
/* rgb */ color: rgb(203, 249, 129);
/* oklch */ color: oklch(92.5% 0.156 126.5);
Tailwind
colors: {
  custom: {
    50: '#ddfba8',
    500: '#cbf981',
    950: '#000000',
  },
}
SCSS
$custom: #cbf981;
$custom-light: #ddfba8;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf981",
  "rgb": {
    "r": 203,
    "g": 249,
    "b": 129
  },
  "hsl": {
    "h": 83,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92456,
    "c": 0.15621,
    "h": 126.5
  },
  "luminance": 0.82033
}

Semantic roles & 50–950 ramp

primary
#CBF981
secondary
#7E48D6
accent
#00E658
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CBF981

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

Preview Lab → · Contrast checker → · Palette generator →

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