#CBF398#CBF398

#CBF398 is a very light, vivid yellow-green. Relative luminance 0.791; OKLCH L 91.5% C 0.124 H 128.0°. Best body text is #000000 at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#CBF398
RGBrgb(203, 243, 152)
HSLhsl(86, 79%, 77%)
HSVhsv(86, 37%, 95%)
CMYKcmyk(16.5%, 0%, 37.4%, 4.7%)
CIE-LABlab(91.26, -27.90, 39.72)
CIE-LCHlch(91.26, 48.55, 125.09°)
OKLaboklab(91.49% -0.0764 0.0979)
OKLCHoklch(91.49% 0.124 128)
XYZxyz(62.3460, 79.0640, 41.6759)
Luminance0.7906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF398 #C098F3
analogous
#F3EE98 #CBF398 #9DF398
triadic
#CBF398 #98CBF3 #F398CB
tetradic
#CBF398 #98F3EE #C098F3 #F3989D
square
#CBF398 #98F3EE #C098F3 #F3989D
split-complementary
#CBF398 #989DF3 #EE98F3
monochromatic
#94E62A #AFED61 #CBF398 #E7F9CF #F1FCE4

Accessibility & contrast

On white

1.25
#CBF398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.81
#CBF398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF398
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF398#FFFFFF#000000##000000
##CBF3981.001.2516.8116.81
#FFFFFF1.251.0021.0021.00
#00000016.8121.001.001.00
##00000016.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE891
Deuteranopia (green-blind)
#F6E59D
Tritanopia (blue-blind)
#CFEBDC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cbf398;
/* rgb */ color: rgb(203, 243, 152);
/* oklch */ color: oklch(91.5% 0.124 128.0);
Tailwind
colors: {
  custom: {
    50: '#dcf7b7',
    500: '#cbf398',
    950: '#000000',
  },
}
SCSS
$custom: #cbf398;
$custom-light: #dcf7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf398",
  "rgb": {
    "r": 203,
    "g": 243,
    "b": 152
  },
  "hsl": {
    "h": 86.374,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.91489,
    "c": 0.12418,
    "h": 128
  },
  "luminance": 0.79065
}

Semantic roles & 50–950 ramp

primary
#CBF398
secondary
#915ED1
accent
#0ADB66
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CBF398

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

Preview Lab → · Contrast checker → · Palette generator →

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