#9EB138#9EB138

#9EB138 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.3% C 0.145 H 117.9°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#9EB138
RGBrgb(158, 177, 56)
HSLhsl(69, 52%, 46%)
HSVhsv(69, 68%, 69%)
CMYKcmyk(10.7%, 0%, 68.4%, 30.6%)
CIE-LABlab(68.75, -22.85, 56.92)
CIE-LCHlch(68.75, 61.34, 111.87°)
OKLaboklab(72.28% -0.0677 0.128)
OKLCHoklch(72.28% 0.145 117.9)
XYZxyz(30.5371, 38.9992, 9.6595)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB138 #4B38B1
analogous
#B18738 #9EB138 #62B138
triadic
#9EB138 #389EB1 #B1389E
tetradic
#9EB138 #38B187 #4B38B1 #B13862
square
#9EB138 #38B187 #4B38B1 #B13862
split-complementary
#9EB138 #3862B1 #8738B1
monochromatic
#4B541B #748329 #9EB138 #BACB5B #CDDA8A

Accessibility & contrast

On white

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

On black

8.80
#9EB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB138
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB138#FFFFFF#000000##000000
##9EB1381.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA726
Deuteranopia (green-blind)
#BBA841
Tritanopia (blue-blind)
#A7A799
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb138;
/* rgb */ color: rgb(158, 177, 56);
/* oklch */ color: oklch(72.3% 0.145 117.9);
Tailwind
colors: {
  custom: {
    50: '#bec876',
    500: '#9eb138',
    950: '#000000',
  },
}
SCSS
$custom: #9eb138;
$custom-light: #bec876;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb138",
  "rgb": {
    "r": 158,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 69.421,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72277,
    "c": 0.14482,
    "h": 117.9
  },
  "luminance": 0.38999
}

Semantic roles & 50–950 ramp

primary
#9EB138
secondary
#8B81C4
accent
#4CDB63
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9EB138

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

Preview Lab → · Contrast checker → · Palette generator →

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