#9EB538#9EB538

#9EB538 is a light, vivid yellow-green. Relative luminance 0.406; OKLCH L 73.2% C 0.150 H 119.3°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#9EB538
RGBrgb(158, 181, 56)
HSLhsl(71, 53%, 46%)
HSVhsv(71, 69%, 71%)
CMYKcmyk(12.7%, 0%, 69.1%, 29%)
CIE-LABlab(69.90, -24.82, 58.08)
CIE-LCHlch(69.90, 63.16, 113.14°)
OKLaboklab(73.2% -0.0732 0.1304)
OKLCHoklch(73.2% 0.15 119.3)
XYZxyz(31.3388, 40.6026, 9.9267)
Luminance0.4060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB538 #4F38B5
analogous
#B58E38 #9EB538 #60B538
triadic
#9EB538 #389EB5 #B5389E
tetradic
#9EB538 #38B58E #4F38B5 #B53860
square
#9EB538 #38B58E #4F38B5 #B53860
split-complementary
#9EB538 #3860B5 #8E38B5
monochromatic
#4C581B #75862A #9EB538 #B8CD5D #CDDB8C

Accessibility & contrast

On white

2.30
#9EB538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#9EB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB538
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB538#FFFFFF#000000##000000
##9EB5381.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB24
Deuteranopia (green-blind)
#BEAB42
Tritanopia (blue-blind)
#A7AB9C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9eb538;
/* rgb */ color: rgb(158, 181, 56);
/* oklch */ color: oklch(73.2% 0.150 119.3);
Tailwind
colors: {
  custom: {
    50: '#becb76',
    500: '#9eb538',
    950: '#000000',
  },
}
SCSS
$custom: #9eb538;
$custom-light: #becb76;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb538",
  "rgb": {
    "r": 158,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 71.04,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73199,
    "c": 0.14957,
    "h": 119.3
  },
  "luminance": 0.40602
}

Semantic roles & 50–950 ramp

primary
#9EB538
secondary
#8F83C6
accent
#4CDC66
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9EB538

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

Preview Lab → · Contrast checker → · Palette generator →

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