#CBF251#CBF251

#CBF251 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#CBF251
RGBrgb(203, 242, 81)
HSLhsl(75, 86%, 63%)
HSVhsv(75, 67%, 95%)
CMYKcmyk(16.1%, 0%, 66.5%, 5.1%)
CIE-LABlab(90.23, -34.10, 70.31)
CIE-LCHlch(90.23, 78.14, 115.88°)
OKLaboklab(90.41% -0.0992 0.1588)
OKLCHoklch(90.41% 0.187 122)
XYZxyz(57.8667, 76.7948, 19.5573)
Luminance0.7680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF251 #7851F2
analogous
#F2C851 #CBF251 #7AF251
triadic
#CBF251 #51CBF2 #F251CB
tetradic
#CBF251 #51F2C8 #7851F2 #F2517A
square
#CBF251 #51F2C8 #7851F2 #F2517A
split-complementary
#CBF251 #517AF2 #C851F2
monochromatic
#91BB0E #BAEE18 #CBF251 #DCF68A #EDFBC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBF251#FFFFFF#000000##000000
##CBF2511.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)
#FFE439
Deuteranopia (green-blind)
#FBE35E
Tritanopia (blue-blind)
#D5E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cbf251;
/* rgb */ color: rgb(203, 242, 81);
/* oklch */ color: oklch(90.4% 0.187 122.0);
Tailwind
colors: {
  custom: {
    50: '#def68a',
    500: '#cbf251',
    950: '#000000',
  },
}
SCSS
$custom: #cbf251;
$custom-light: #def68a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf251",
  "rgb": {
    "r": 203,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 74.534,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90409,
    "c": 0.18725,
    "h": 122
  },
  "luminance": 0.76795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBF251

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

Preview Lab → · Contrast checker → · Palette generator →

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