#CBF97B#CBF97B

#CBF97B is a very light, vivid yellow-green. Relative luminance 0.819; OKLCH L 92.4% C 0.162 H 126.0°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#CBF97B
RGBrgb(203, 249, 123)
HSLhsl(82, 91%, 73%)
HSVhsv(82, 51%, 98%)
CMYKcmyk(18.5%, 0%, 50.6%, 2.4%)
CIE-LABlab(92.52, -33.95, 55.15)
CIE-LCHlch(92.52, 64.76, 121.61°)
OKLaboklab(92.38% -0.0951 0.131)
OKLCHoklch(92.38% 0.162 126)
XYZxyz(62.0793, 81.8773, 31.2684)
Luminance0.8188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF97B #A97BF9
analogous
#F9E87B #CBF97B #8CF97B
triadic
#CBF97B #7BCBF9 #F97BCB
tetradic
#CBF97B #7BF9E8 #A97BF9 #F97B8C
square
#CBF97B #7BF9E8 #A97BF9 #F97B8C
split-complementary
#CBF97B #7B8CF9 #E87BF9
monochromatic
#9CEF0B #B4F640 #CBF97B #E2FCB6 #F3FEE2

Accessibility & contrast

On white

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

On black

17.38
#CBF97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF97B
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF97B#FFFFFF#000000##000000
##CBF97B1.001.2117.3817.38
#FFFFFF1.211.0021.0021.00
#00000017.3821.001.001.00
##00000017.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6F
Deuteranopia (green-blind)
#FEE983
Tritanopia (blue-blind)
#D2EFDC
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cbf97b;
/* rgb */ color: rgb(203, 249, 123);
/* oklch */ color: oklch(92.4% 0.162 126.0);
Tailwind
colors: {
  custom: {
    50: '#ddfba4',
    500: '#cbf97b',
    950: '#000000',
  },
}
SCSS
$custom: #cbf97b;
$custom-light: #ddfba4;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf97b",
  "rgb": {
    "r": 203,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 81.905,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92379,
    "c": 0.16191,
    "h": 126
  },
  "luminance": 0.81878
}

Semantic roles & 50–950 ramp

primary
#CBF97B
secondary
#7843D6
accent
#00E654
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF97B

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

Preview Lab → · Contrast checker → · Palette generator →

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