#CBF54E#CBF54E

#CBF54E is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 91.1% C 0.193 H 122.6°. Best body text is #000000 at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#CBF54E
RGBrgb(203, 245, 78)
HSLhsl(75, 89%, 63%)
HSVhsv(75, 68%, 96%)
CMYKcmyk(17.1%, 0%, 68.2%, 3.9%)
CIE-LABlab(91.03, -35.65, 72.23)
CIE-LCHlch(91.03, 80.55, 116.27°)
OKLaboklab(91.05% -0.1038 0.1624)
OKLCHoklch(91.05% 0.193 122.6)
XYZxyz(58.6569, 78.5512, 19.2780)
Luminance0.7855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF54E #784EF5
analogous
#F5CC4E #CBF54E #77F54E
triadic
#CBF54E #4ECBF5 #F54ECB
tetradic
#CBF54E #4EF5CC #784EF5 #F54E77
square
#CBF54E #4EF5CC #784EF5 #F54E77
split-complementary
#CBF54E #4E77F5 #CC4EF5
monochromatic
#91BE0B #BAF214 #CBF54E #DCF888 #EDFCC2

Accessibility & contrast

On white

1.26
#CBF54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.71
#CBF54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF54E
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF54E#FFFFFF#000000##000000
##CBF54E1.001.2616.7116.71
#FFFFFF1.261.0021.0021.00
#00000016.7121.001.001.00
##00000016.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE634
Deuteranopia (green-blind)
#FEE55C
Tritanopia (blue-blind)
#D5E9D4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cbf54e;
/* rgb */ color: rgb(203, 245, 78);
/* oklch */ color: oklch(91.1% 0.193 122.6);
Tailwind
colors: {
  custom: {
    50: '#def889',
    500: '#cbf54e',
    950: '#000000',
  },
}
SCSS
$custom: #cbf54e;
$custom-light: #def889;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf54e",
  "rgb": {
    "r": 203,
    "g": 245,
    "b": 78
  },
  "hsl": {
    "h": 75.09,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.91051,
    "c": 0.19273,
    "h": 122.6
  },
  "luminance": 0.78551
}

Semantic roles & 50–950 ramp

primary
#CBF54E
secondary
#502BBC
accent
#00E63A
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CBF54E

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

Preview Lab → · Contrast checker → · Palette generator →

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