#BAE338#BAE338

#BAE338 is a very light, vivid yellow-green. Relative luminance 0.657; OKLCH L 85.7% C 0.192 H 122.6°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#BAE338
RGBrgb(186, 227, 56)
HSLhsl(74, 75%, 55%)
HSVhsv(74, 75%, 89%)
CMYKcmyk(18.1%, 0%, 75.3%, 11%)
CIE-LABlab(84.82, -35.22, 73.22)
CIE-LCHlch(84.82, 81.25, 115.69°)
OKLaboklab(85.72% -0.1034 0.1615)
OKLCHoklch(85.72% 0.192 122.6)
XYZxyz(48.4333, 65.6626, 13.8632)
Luminance0.6566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAE338 #6138E3
analogous
#E3B638 #BAE338 #64E338
triadic
#BAE338 #38BAE3 #E338BA
tetradic
#BAE338 #38E3B6 #6138E3 #E33864
square
#BAE338 #38E3B6 #6138E3 #E33864
split-complementary
#BAE338 #3864E3 #B638E3
monochromatic
#708D14 #9AC21B #BAE338 #CDEB6E #DFF2A3

Accessibility & contrast

On white

1.49
#BAE338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#BAE338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAE338
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAE338#FFFFFF#000000##000000
##BAE3381.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D509
Deuteranopia (green-blind)
#EBD448
Tritanopia (blue-blind)
#C4D7C3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #bae338;
/* rgb */ color: rgb(186, 227, 56);
/* oklch */ color: oklch(85.7% 0.192 122.6);
Tailwind
colors: {
  custom: {
    50: '#d3eb7c',
    500: '#bae338',
    950: '#000000',
  },
}
SCSS
$custom: #bae338;
$custom-light: #d3eb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bae338",
  "rgb": {
    "r": 186,
    "g": 227,
    "b": 56
  },
  "hsl": {
    "h": 74.386,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.85719,
    "c": 0.1918,
    "h": 122.6
  },
  "luminance": 0.65663
}

Semantic roles & 50–950 ramp

primary
#BAE338
secondary
#452D92
accent
#36F263
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#15160A
muted
#84847D

Preview Lab

Preview with #BAE338

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

Preview Lab → · Contrast checker → · Palette generator →

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