#CBF397#CBF397

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

Color values

HEX#CBF397
RGBrgb(203, 243, 151)
HSLhsl(86, 79%, 77%)
HSVhsv(86, 38%, 95%)
CMYKcmyk(16.5%, 0%, 37.9%, 4.7%)
CIE-LABlab(91.25, -28.03, 40.20)
CIE-LCHlch(91.25, 49.01, 124.89°)
OKLaboklab(91.47% -0.0768 0.099)
OKLCHoklch(91.47% 0.125 127.8)
XYZxyz(62.2644, 79.0314, 41.2464)
Luminance0.7903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF397 #BF97F3
analogous
#F3ED97 #CBF397 #9DF397
triadic
#CBF397 #97CBF3 #F397CB
tetradic
#CBF397 #97F3ED #BF97F3 #F3979D
square
#CBF397 #97F3ED #BF97F3 #F3979D
split-complementary
#CBF397 #979DF3 #ED97F3
monochromatic
#94E629 #B0ED60 #CBF397 #E6F9CE #F1FCE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBF397#FFFFFF#000000##000000
##CBF3971.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)
#FCE890
Deuteranopia (green-blind)
#F6E59C
Tritanopia (blue-blind)
#CFEBDC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cbf397;
/* rgb */ color: rgb(203, 243, 151);
/* oklch */ color: oklch(91.5% 0.125 127.8);
Tailwind
colors: {
  custom: {
    50: '#dcf7b6',
    500: '#cbf397',
    950: '#000000',
  },
}
SCSS
$custom: #cbf397;
$custom-light: #dcf7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf397",
  "rgb": {
    "r": 203,
    "g": 243,
    "b": 151
  },
  "hsl": {
    "h": 86.087,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.91473,
    "c": 0.12527,
    "h": 127.8
  },
  "luminance": 0.79032
}

Semantic roles & 50–950 ramp

primary
#CBF397
secondary
#905DD1
accent
#0ADC65
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CBF397

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

Preview Lab → · Contrast checker → · Palette generator →

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