#9EB238#9EB238

#9EB238 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.5% C 0.146 H 118.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#9EB238
RGBrgb(158, 178, 56)
HSLhsl(70, 52%, 46%)
HSVhsv(70, 69%, 70%)
CMYKcmyk(11.2%, 0%, 68.5%, 30.2%)
CIE-LABlab(69.04, -23.35, 57.21)
CIE-LCHlch(69.04, 61.79, 112.20°)
OKLaboklab(72.51% -0.0691 0.1286)
OKLCHoklch(72.51% 0.146 118.3)
XYZxyz(30.7354, 39.3957, 9.7256)
Luminance0.3940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB238 #4C38B2
analogous
#B28938 #9EB238 #61B238
triadic
#9EB238 #389EB2 #B2389E
tetradic
#9EB238 #38B289 #4C38B2 #B23861
square
#9EB238 #38B289 #4C38B2 #B23861
split-complementary
#9EB238 #3861B2 #8938B2
monochromatic
#4B551B #758329 #9EB238 #B9CC5C #CDDA8A

Accessibility & contrast

On white

2.37
#9EB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#9EB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB238
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB238#FFFFFF#000000##000000
##9EB2381.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA825
Deuteranopia (green-blind)
#BBA941
Tritanopia (blue-blind)
#A7A89A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb238;
/* rgb */ color: rgb(158, 178, 56);
/* oklch */ color: oklch(72.5% 0.146 118.3);
Tailwind
colors: {
  custom: {
    50: '#bec976',
    500: '#9eb238',
    950: '#000000',
  },
}
SCSS
$custom: #9eb238;
$custom-light: #bec976;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb238",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 69.836,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72507,
    "c": 0.146,
    "h": 118.3
  },
  "luminance": 0.39395
}

Semantic roles & 50–950 ramp

primary
#9EB238
secondary
#8C81C5
accent
#4CDC64
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9EB238

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

Preview Lab → · Contrast checker → · Palette generator →

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