#BAE20D#BAE20D

#BAE20D is a very light, highly saturated yellow-green. Relative luminance 0.649; OKLCH L 85.3% C 0.205 H 121.7°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#BAE20D
RGBrgb(186, 226, 13)
HSLhsl(71, 89%, 47%)
HSVhsv(71, 94%, 89%)
CMYKcmyk(17.7%, 0%, 94.2%, 11.4%)
CIE-LABlab(84.41, -35.97, 81.71)
CIE-LCHlch(84.41, 89.28, 113.76°)
OKLaboklab(85.34% -0.1076 0.174)
OKLCHoklch(85.34% 0.205 121.7)
XYZxyz(47.5196, 64.8608, 10.3966)
Luminance0.6486 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAE20D #350DE2
analogous
#E2A00D #BAE20D #4FE20D
triadic
#BAE20D #0DBAE2 #E20DBA
tetradic
#BAE20D #0DE2A0 #350DE2 #E20D4F
square
#BAE20D #0DE2A0 #350DE2 #E20D4F
split-complementary
#BAE20D #0D4FE2 #A00DE2
monochromatic
#5B6E06 #8AA80A #BAE20D #D0F439 #DEF772

Accessibility & contrast

On white

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

On black

13.97
#BAE20D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAE20D
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAE20D#FFFFFF#000000##000000
##BAE20D1.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D300
Deuteranopia (green-blind)
#EBD331
Tritanopia (blue-blind)
#C5D6C0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #bae20d;
/* rgb */ color: rgb(186, 226, 13);
/* oklch */ color: oklch(85.3% 0.205 121.7);
Tailwind
colors: {
  custom: {
    50: '#d4eb6e',
    500: '#bae20d',
    950: '#000000',
  },
}
SCSS
$custom: #bae20d;
$custom-light: #d4eb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#bae20d",
  "rgb": {
    "r": 186,
    "g": 226,
    "b": 13
  },
  "hsl": {
    "h": 71.268,
    "s": 89.121,
    "l": 46.863
  },
  "oklch": {
    "l": 0.85344,
    "c": 0.20459,
    "h": 121.7
  },
  "luminance": 0.64861
}

Semantic roles & 50–950 ramp

primary
#BAE20D
secondary
#2D1C78
accent
#29FF51
background
#FEFEFB
surface
#FCFDF1
border
#D5D5CB
text
#151609
muted
#84847D

Preview Lab

Preview with #BAE20D

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

Preview Lab → · Contrast checker → · Palette generator →

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