#BAE228#BAE228

#BAE228 is a very light, vivid yellow-green. Relative luminance 0.650; OKLCH L 85.4% C 0.198 H 122.1°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#BAE228
RGBrgb(186, 226, 40)
HSLhsl(73, 76%, 52%)
HSVhsv(73, 82%, 89%)
CMYKcmyk(17.7%, 0%, 82.3%, 11.4%)
CIE-LABlab(84.48, -35.38, 77.26)
CIE-LCHlch(84.48, 84.98, 114.61°)
OKLaboklab(85.42% -0.1049 0.1676)
OKLCHoklch(85.42% 0.198 122.1)
XYZxyz(47.8299, 64.9849, 12.0306)
Luminance0.6499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAE228 #5028E2
analogous
#E2AD28 #BAE228 #5DE228
triadic
#BAE228 #28BAE2 #E228BA
tetradic
#BAE228 #28E2AD #5028E2 #E2285D
square
#BAE228 #28E2AD #5028E2 #E2285D
split-complementary
#BAE228 #285DE2 #AD28E2
monochromatic
#677F11 #93B418 #BAE228 #CBE95E #DDF194

Accessibility & contrast

On white

1.50
#BAE228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#BAE228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAE228
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAE228#FFFFFF#000000##000000
##BAE2281.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D400
Deuteranopia (green-blind)
#EBD33D
Tritanopia (blue-blind)
#C4D6C1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #bae228;
/* rgb */ color: rgb(186, 226, 40);
/* oklch */ color: oklch(85.4% 0.198 122.1);
Tailwind
colors: {
  custom: {
    50: '#d3eb75',
    500: '#bae228',
    950: '#000000',
  },
}
SCSS
$custom: #bae228;
$custom-light: #d3eb75;
$custom-dark: #000000;
JSON
{
  "hex": "#bae228",
  "rgb": {
    "r": 186,
    "g": 226,
    "b": 40
  },
  "hsl": {
    "h": 72.903,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.85416,
    "c": 0.19773,
    "h": 122.1
  },
  "luminance": 0.64985
}

Semantic roles & 50–950 ramp

primary
#BAE228
secondary
#3D2986
accent
#35F35E
background
#FEFEFB
surface
#FCFDF1
border
#D5D5CB
text
#151609
muted
#84847D

Preview Lab

Preview with #BAE228

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

Preview Lab → · Contrast checker → · Palette generator →

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