#CBF998#CBF998

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

Color values

HEX#CBF998
RGBrgb(203, 249, 152)
HSLhsl(88, 89%, 79%)
HSVhsv(88, 39%, 98%)
CMYKcmyk(18.5%, 0%, 39%, 2.4%)
CIE-LABlab(92.89, -30.71, 41.82)
CIE-LCHlch(92.89, 51.89, 126.29°)
OKLaboklab(92.8% -0.0843 0.1027)
OKLCHoklch(92.8% 0.133 129.4)
XYZxyz(64.1709, 82.7139, 42.2842)
Luminance0.8272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF998 #C698F9
analogous
#F9F798 #CBF998 #9AF998
triadic
#CBF998 #98CBF9 #F998CB
tetradic
#CBF998 #98F9F7 #C698F9 #F9989A
square
#CBF998 #98F9F7 #C698F9 #F9989A
split-complementary
#CBF998 #989AF9 #F798F9
monochromatic
#91F224 #AEF65E #CBF998 #E8FCD2 #F0FDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBF998#FFFFFF#000000##000000
##CBF9981.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)
#FFED91
Deuteranopia (green-blind)
#FBEA9D
Tritanopia (blue-blind)
#CFF1E1
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cbf998;
/* rgb */ color: rgb(203, 249, 152);
/* oklch */ color: oklch(92.8% 0.133 129.4);
Tailwind
colors: {
  custom: {
    50: '#dcfbb7',
    500: '#cbf998',
    950: '#000000',
  },
}
SCSS
$custom: #cbf998;
$custom-light: #dcfbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf998",
  "rgb": {
    "r": 203,
    "g": 249,
    "b": 152
  },
  "hsl": {
    "h": 88.454,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.92795,
    "c": 0.13287,
    "h": 129.4
  },
  "luminance": 0.82715
}

Semantic roles & 50–950 ramp

primary
#CBF998
secondary
#975CD9
accent
#00E66D
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CBF998

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

Preview Lab → · Contrast checker → · Palette generator →

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