#CBF252#CBF252

#CBF252 is a very light, vivid yellow-green. Relative luminance 0.768; OKLCH L 90.4% C 0.187 H 122.0°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#CBF252
RGBrgb(203, 242, 82)
HSLhsl(75, 86%, 64%)
HSVhsv(75, 66%, 95%)
CMYKcmyk(16.1%, 0%, 66.1%, 5.1%)
CIE-LABlab(90.23, -34.04, 69.94)
CIE-LCHlch(90.23, 77.78, 115.95°)
OKLaboklab(90.42% -0.099 0.1582)
OKLCHoklch(90.42% 0.187 122)
XYZxyz(57.9044, 76.8099, 19.7563)
Luminance0.7681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF252 #7952F2
analogous
#F2C952 #CBF252 #7BF252
triadic
#CBF252 #52CBF2 #F252CB
tetradic
#CBF252 #52F2C9 #7952F2 #F2527B
square
#CBF252 #52F2C9 #7952F2 #F2527B
split-complementary
#CBF252 #527BF2 #C952F2
monochromatic
#91BC0E #BAEE19 #CBF252 #DCF68B #EDFBC4

Accessibility & contrast

On white

1.28
#CBF252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.36
#CBF252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF252
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF252#FFFFFF#000000##000000
##CBF2521.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE43B
Deuteranopia (green-blind)
#FBE35E
Tritanopia (blue-blind)
#D5E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cbf252;
/* rgb */ color: rgb(203, 242, 82);
/* oklch */ color: oklch(90.4% 0.187 122.0);
Tailwind
colors: {
  custom: {
    50: '#def68b',
    500: '#cbf252',
    950: '#000000',
  },
}
SCSS
$custom: #cbf252;
$custom-light: #def68b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf252",
  "rgb": {
    "r": 203,
    "g": 242,
    "b": 82
  },
  "hsl": {
    "h": 74.625,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.90416,
    "c": 0.18657,
    "h": 122
  },
  "luminance": 0.7681
}

Semantic roles & 50–950 ramp

primary
#CBF252
secondary
#502EBA
accent
#03E339
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CBF252

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

Preview Lab → · Contrast checker → · Palette generator →

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