#9EB227#9EB227

#9EB227 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.4% C 0.156 H 117.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#9EB227
RGBrgb(158, 178, 39)
HSLhsl(69, 64%, 43%)
HSVhsv(69, 78%, 70%)
CMYKcmyk(11.2%, 0%, 78.1%, 30.2%)
CIE-LABlab(68.94, -24.21, 63.04)
CIE-LCHlch(68.94, 67.53, 111.01°)
OKLaboklab(72.4% -0.073 0.138)
OKLCHoklch(72.4% 0.156 117.9)
XYZxyz(30.3879, 39.2567, 7.8955)
Luminance0.3926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB227 #3B27B2
analogous
#B28027 #9EB227 #59B227
triadic
#9EB227 #279EB2 #B2279E
tetradic
#9EB227 #27B280 #3B27B2 #B22759
square
#9EB227 #27B280 #3B27B2 #B22759
split-complementary
#9EB227 #2759B2 #8027B2
monochromatic
#454E11 #71801C #9EB227 #C0D541 #D1E073

Accessibility & contrast

On white

2.37
#9EB227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#9EB227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB227
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB227#FFFFFF#000000##000000
##9EB2271.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BCA934
Tritanopia (blue-blind)
#A8A898
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb227;
/* rgb */ color: rgb(158, 178, 39);
/* oklch */ color: oklch(72.4% 0.156 117.9);
Tailwind
colors: {
  custom: {
    50: '#bec96d',
    500: '#9eb227',
    950: '#000000',
  },
}
SCSS
$custom: #9eb227;
$custom-light: #bec96d;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb227",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 68.633,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72395,
    "c": 0.15615,
    "h": 117.9
  },
  "luminance": 0.39256
}

Semantic roles & 50–950 ramp

primary
#9EB227
secondary
#7A6DC8
accent
#41E759
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9EB227

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

Preview Lab → · Contrast checker → · Palette generator →

#9EB227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva