#CBF54D#CBF54D

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

Color values

HEX#CBF54D
RGBrgb(203, 245, 77)
HSLhsl(75, 89%, 63%)
HSVhsv(75, 69%, 96%)
CMYKcmyk(17.1%, 0%, 68.6%, 3.9%)
CIE-LABlab(91.02, -35.70, 72.59)
CIE-LCHlch(91.02, 80.89, 116.19°)
OKLaboklab(91.04% -0.104 0.163)
OKLCHoklch(91.04% 0.193 122.5)
XYZxyz(58.6213, 78.5370, 19.0906)
Luminance0.7854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF54D #774DF5
analogous
#F5CB4D #CBF54D #77F54D
triadic
#CBF54D #4DCBF5 #F54DCB
tetradic
#CBF54D #4DF5CB #774DF5 #F54D77
square
#CBF54D #4DF5CB #774DF5 #F54D77
split-complementary
#CBF54D #4D77F5 #CB4DF5
monochromatic
#90BD0B #BAF213 #CBF54D #DCF887 #EDFCC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBF54D#FFFFFF#000000##000000
##CBF54D1.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)
#FFE632
Deuteranopia (green-blind)
#FEE55B
Tritanopia (blue-blind)
#D5E9D4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cbf54d;
/* rgb */ color: rgb(203, 245, 77);
/* oklch */ color: oklch(91.0% 0.193 122.5);
Tailwind
colors: {
  custom: {
    50: '#def888',
    500: '#cbf54d',
    950: '#000000',
  },
}
SCSS
$custom: #cbf54d;
$custom-light: #def888;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf54d",
  "rgb": {
    "r": 203,
    "g": 245,
    "b": 77
  },
  "hsl": {
    "h": 75,
    "s": 89.362,
    "l": 63.137
  },
  "oklch": {
    "l": 0.91043,
    "c": 0.19336,
    "h": 122.5
  },
  "luminance": 0.78537
}

Semantic roles & 50–950 ramp

primary
#CBF54D
secondary
#4F2BBB
accent
#00E639
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CBF54D

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

Preview Lab → · Contrast checker → · Palette generator →

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