#CBF254#CBF254

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

Color values

HEX#CBF254
RGBrgb(203, 242, 84)
HSLhsl(75, 86%, 64%)
HSVhsv(75, 65%, 95%)
CMYKcmyk(16.1%, 0%, 65.3%, 5.1%)
CIE-LABlab(90.25, -33.91, 69.19)
CIE-LCHlch(90.25, 77.05, 116.11°)
OKLaboklab(90.43% -0.0984 0.1569)
OKLCHoklch(90.43% 0.185 122.1)
XYZxyz(57.9817, 76.8408, 20.1629)
Luminance0.7684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF254 #7B54F2
analogous
#F2CA54 #CBF254 #7CF254
triadic
#CBF254 #54CBF2 #F254CB
tetradic
#CBF254 #54F2CA #7B54F2 #F2547C
square
#CBF254 #54F2CA #7B54F2 #F2547C
split-complementary
#CBF254 #547CF2 #CA54F2
monochromatic
#92BD0E #BAEE1B #CBF254 #DCF68D #EEFBC6

Accessibility & contrast

On white

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

On black

16.37
#CBF254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF254
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF254#FFFFFF#000000##000000
##CBF2541.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbf254;
/* rgb */ color: rgb(203, 242, 84);
/* oklch */ color: oklch(90.4% 0.185 122.1);
Tailwind
colors: {
  custom: {
    50: '#def68c',
    500: '#cbf254',
    950: '#000000',
  },
}
SCSS
$custom: #cbf254;
$custom-light: #def68c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf254",
  "rgb": {
    "r": 203,
    "g": 242,
    "b": 84
  },
  "hsl": {
    "h": 74.81,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90432,
    "c": 0.1852,
    "h": 122.1
  },
  "luminance": 0.76841
}

Semantic roles & 50–950 ramp

primary
#CBF254
secondary
#512FBB
accent
#03E23A
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #CBF254

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

Preview Lab → · Contrast checker → · Palette generator →

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