#9EB255#9EB255

#9EB255 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.8% C 0.121 H 119.6°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#9EB255
RGBrgb(158, 178, 85)
HSLhsl(73, 38%, 52%)
HSVhsv(73, 52%, 70%)
CMYKcmyk(11.2%, 0%, 52.2%, 30.2%)
CIE-LABlab(69.30, -21.08, 44.71)
CIE-LCHlch(69.30, 49.43, 115.25°)
OKLaboklab(72.81% -0.0599 0.1056)
OKLCHoklch(72.81% 0.121 119.6)
XYZxyz(31.6609, 39.7659, 14.6002)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB255 #6955B2
analogous
#B29855 #9EB255 #70B255
triadic
#9EB255 #559EB2 #B2559E
tetradic
#9EB255 #55B298 #6955B2 #B25570
square
#9EB255 #55B298 #6955B2 #B25570
split-complementary
#9EB255 #5570B2 #9855B2
monochromatic
#55612C #7B8B3F #9EB255 #B6C57F #CED8A9

Accessibility & contrast

On white

2.35
#9EB255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#9EB255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB255
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB255#FFFFFF#000000##000000
##9EB2551.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA94C
Deuteranopia (green-blind)
#B9AA5A
Tritanopia (blue-blind)
#A6AA9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9eb255;
/* rgb */ color: rgb(158, 178, 85);
/* oklch */ color: oklch(72.8% 0.121 119.6);
Tailwind
colors: {
  custom: {
    50: '#bcc987',
    500: '#9eb255',
    950: '#000000',
  },
}
SCSS
$custom: #9eb255;
$custom-light: #bcc987;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb255",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 72.903,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72806,
    "c": 0.12139,
    "h": 119.6
  },
  "luminance": 0.39766
}

Semantic roles & 50–950 ramp

primary
#9EB255
secondary
#A69DC6
accent
#5ACE73
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #9EB255

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

Preview Lab → · Contrast checker → · Palette generator →

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