#CBF997#CBF997

#CBF997 is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 92.8% C 0.134 H 129.2°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#CBF997
RGBrgb(203, 249, 151)
HSLhsl(88, 89%, 78%)
HSVhsv(88, 39%, 98%)
CMYKcmyk(18.5%, 0%, 39.4%, 2.4%)
CIE-LABlab(92.87, -30.84, 42.29)
CIE-LCHlch(92.87, 52.34, 126.10°)
OKLaboklab(92.78% -0.0847 0.1038)
OKLCHoklch(92.78% 0.134 129.2)
XYZxyz(64.0894, 82.6813, 41.8547)
Luminance0.8268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF997 #C597F9
analogous
#F9F697 #CBF997 #9AF997
triadic
#CBF997 #97CBF9 #F997CB
tetradic
#CBF997 #97F9F6 #C597F9 #F9979A
square
#CBF997 #97F9F6 #C597F9 #F9979A
split-complementary
#CBF997 #979AF9 #F697F9
monochromatic
#91F223 #AEF65D #CBF997 #E8FCD1 #F1FDE2

Accessibility & contrast

On white

1.20
#CBF997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.54
#CBF997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF997
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF997#FFFFFF#000000##000000
##CBF9971.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED90
Deuteranopia (green-blind)
#FBEA9C
Tritanopia (blue-blind)
#CFF1E1
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cbf997;
/* rgb */ color: rgb(203, 249, 151);
/* oklch */ color: oklch(92.8% 0.134 129.2);
Tailwind
colors: {
  custom: {
    50: '#dcfbb7',
    500: '#cbf997',
    950: '#000000',
  },
}
SCSS
$custom: #cbf997;
$custom-light: #dcfbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf997",
  "rgb": {
    "r": 203,
    "g": 249,
    "b": 151
  },
  "hsl": {
    "h": 88.163,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.92779,
    "c": 0.13393,
    "h": 129.2
  },
  "luminance": 0.82682
}

Semantic roles & 50–950 ramp

primary
#CBF997
secondary
#965BD9
accent
#00E66C
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CBF997

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

Preview Lab → · Contrast checker → · Palette generator →

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