#9EB127#9EB127

#9EB127 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.2% C 0.155 H 117.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#9EB127
RGBrgb(158, 177, 39)
HSLhsl(68, 64%, 42%)
HSVhsv(68, 78%, 69%)
CMYKcmyk(10.7%, 0%, 78%, 30.6%)
CIE-LABlab(68.65, -23.72, 62.78)
CIE-LCHlch(68.65, 67.11, 110.70°)
OKLaboklab(72.16% -0.0716 0.1375)
OKLCHoklch(72.16% 0.155 117.5)
XYZxyz(30.1897, 38.8602, 7.8294)
Luminance0.3886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB127 #3A27B1
analogous
#B17F27 #9EB127 #59B127
triadic
#9EB127 #279EB1 #B1279E
tetradic
#9EB127 #27B17F #3A27B1 #B12759
square
#9EB127 #27B17F #3A27B1 #B12759
split-complementary
#9EB127 #2759B1 #7F27B1
monochromatic
#444D11 #717F1C #9EB127 #C0D540 #D1E072

Accessibility & contrast

On white

2.39
#9EB127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#9EB127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB127
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB127#FFFFFF#000000##000000
##9EB1271.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#A8A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9eb127;
/* rgb */ color: rgb(158, 177, 39);
/* oklch */ color: oklch(72.2% 0.155 117.5);
Tailwind
colors: {
  custom: {
    50: '#bec86d',
    500: '#9eb127',
    950: '#000000',
  },
}
SCSS
$custom: #9eb127;
$custom-light: #bec86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb127",
  "rgb": {
    "r": 158,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 68.261,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72164,
    "c": 0.15502,
    "h": 117.5
  },
  "luminance": 0.3886
}

Semantic roles & 50–950 ramp

primary
#9EB127
secondary
#796DC7
accent
#41E758
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9EB127

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

Preview Lab → · Contrast checker → · Palette generator →

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