#CBF898#CBF898

#CBF898 is a very light, vivid yellow-green. Relative luminance 0.821; OKLCH L 92.6% C 0.131 H 129.1°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#CBF898
RGBrgb(203, 248, 152)
HSLhsl(88, 87%, 78%)
HSVhsv(88, 39%, 97%)
CMYKcmyk(18.1%, 0%, 38.7%, 2.7%)
CIE-LABlab(92.62, -30.25, 41.47)
CIE-LCHlch(92.62, 51.33, 126.10°)
OKLaboklab(92.58% -0.083 0.1019)
OKLCHoklch(92.58% 0.131 129.1)
XYZxyz(63.8627, 82.0974, 42.1815)
Luminance0.8210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF898 #C598F8
analogous
#F8F598 #CBF898 #9BF898
triadic
#CBF898 #98CBF8 #F898CB
tetradic
#CBF898 #98F8F5 #C598F8 #F8989B
square
#CBF898 #98F8F5 #C598F8 #F8989B
split-complementary
#CBF898 #989BF8 #F598F8
monochromatic
#91F025 #AEF45F #CBF898 #E8FCD1 #F1FDE2

Accessibility & contrast

On white

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

On black

17.42
#CBF898 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF898
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF898#FFFFFF#000000##000000
##CBF8981.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC91
Deuteranopia (green-blind)
#FAE99D
Tritanopia (blue-blind)
#CFF0E0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cbf898;
/* rgb */ color: rgb(203, 248, 152);
/* oklch */ color: oklch(92.6% 0.131 129.1);
Tailwind
colors: {
  custom: {
    50: '#dcfab7',
    500: '#cbf898',
    950: '#000000',
  },
}
SCSS
$custom: #cbf898;
$custom-light: #dcfab7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf898",
  "rgb": {
    "r": 203,
    "g": 248,
    "b": 152
  },
  "hsl": {
    "h": 88.125,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.92577,
    "c": 0.13142,
    "h": 129.1
  },
  "luminance": 0.82098
}

Semantic roles & 50–950 ramp

primary
#CBF898
secondary
#965CD8
accent
#02E46C
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CBF898

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

Preview Lab → · Contrast checker → · Palette generator →

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