#9EB338#9EB338

#9EB338 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.7% C 0.147 H 118.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#9EB338
RGBrgb(158, 179, 56)
HSLhsl(70, 52%, 46%)
HSVhsv(70, 69%, 70%)
CMYKcmyk(11.7%, 0%, 68.7%, 29.8%)
CIE-LABlab(69.32, -23.84, 57.50)
CIE-LCHlch(69.32, 62.25, 112.52°)
OKLaboklab(72.74% -0.0705 0.1292)
OKLCHoklch(72.74% 0.147 118.6)
XYZxyz(30.9351, 39.7951, 9.7922)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB338 #4D38B3
analogous
#B38A38 #9EB338 #60B338
triadic
#9EB338 #389EB3 #B3389E
tetradic
#9EB338 #38B38A #4D38B3 #B33860
square
#9EB338 #38B38A #4D38B3 #B33860
split-complementary
#9EB338 #3860B3 #8A38B3
monochromatic
#4C561B #758429 #9EB338 #B9CC5C #CDDB8B

Accessibility & contrast

On white

2.34
#9EB338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#9EB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB338
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB338#FFFFFF#000000##000000
##9EB3381.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA925
Deuteranopia (green-blind)
#BCAA41
Tritanopia (blue-blind)
#A7A99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9eb338;
/* rgb */ color: rgb(158, 179, 56);
/* oklch */ color: oklch(72.7% 0.147 118.6);
Tailwind
colors: {
  custom: {
    50: '#bec976',
    500: '#9eb338',
    950: '#000000',
  },
}
SCSS
$custom: #9eb338;
$custom-light: #bec976;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb338",
  "rgb": {
    "r": 158,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 70.244,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72737,
    "c": 0.14719,
    "h": 118.6
  },
  "luminance": 0.39795
}

Semantic roles & 50–950 ramp

primary
#9EB338
secondary
#8D82C5
accent
#4CDC65
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9EB338

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

Preview Lab → · Contrast checker → · Palette generator →

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