#CBF45F#CBF45F

#CBF45F is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 91.0% C 0.180 H 123.0°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#CBF45F
RGBrgb(203, 244, 95)
HSLhsl(77, 87%, 66%)
HSVhsv(77, 61%, 96%)
CMYKcmyk(16.8%, 0%, 61.1%, 4.3%)
CIE-LABlab(90.88, -34.07, 65.49)
CIE-LCHlch(90.88, 73.82, 117.48°)
OKLaboklab(90.97% -0.0979 0.1505)
OKLCHoklch(90.97% 0.18 123)
XYZxyz(59.0453, 78.2238, 22.8123)
Luminance0.7822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF45F #885FF4
analogous
#F4D35F #CBF45F #81F45F
triadic
#CBF45F #5FCBF4 #F45FCB
tetradic
#CBF45F #5FF4D3 #885FF4 #F45F81
square
#CBF45F #5FF4D3 #885FF4 #F45F81
split-complementary
#CBF45F #5F81F4 #D35FF4
monochromatic
#97CB0E #B8F026 #CBF45F #DEF898 #F0FCD2

Accessibility & contrast

On white

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

On black

16.64
#CBF45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF45F
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF45F#FFFFFF#000000##000000
##CBF45F1.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE64D
Deuteranopia (green-blind)
#FCE569
Tritanopia (blue-blind)
#D4E9D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cbf45f;
/* rgb */ color: rgb(203, 244, 95);
/* oklch */ color: oklch(91.0% 0.180 123.0);
Tailwind
colors: {
  custom: {
    50: '#def792',
    500: '#cbf45f',
    950: '#000000',
  },
}
SCSS
$custom: #cbf45f;
$custom-light: #def792;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf45f",
  "rgb": {
    "r": 203,
    "g": 244,
    "b": 95
  },
  "hsl": {
    "h": 76.51,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90971,
    "c": 0.17952,
    "h": 123
  },
  "luminance": 0.78224
}

Semantic roles & 50–950 ramp

primary
#CBF45F
secondary
#5A30C7
accent
#02E440
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CBF45F

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

Preview Lab → · Contrast checker → · Palette generator →

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