#9EB236#9EB236

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

Color values

HEX#9EB236
RGBrgb(158, 178, 54)
HSLhsl(70, 53%, 45%)
HSVhsv(70, 70%, 70%)
CMYKcmyk(11.2%, 0%, 69.7%, 30.2%)
CIE-LABlab(69.02, -23.47, 57.97)
CIE-LCHlch(69.02, 62.54, 112.04°)
OKLaboklab(72.49% -0.0696 0.1299)
OKLCHoklch(72.49% 0.147 118.2)
XYZxyz(30.6874, 39.3765, 9.4731)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB236 #4A36B2
analogous
#B28836 #9EB236 #60B236
triadic
#9EB236 #369EB2 #B2369E
tetradic
#9EB236 #36B288 #4A36B2 #B23660
square
#9EB236 #36B288 #4A36B2 #B23660
split-complementary
#9EB236 #3660B2 #8836B2
monochromatic
#4B541A #748328 #9EB236 #BACD59 #CDDB88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EB236#FFFFFF#000000##000000
##9EB2361.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)
#BEA822
Deuteranopia (green-blind)
#BCA940
Tritanopia (blue-blind)
#A7A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb236;
/* rgb */ color: rgb(158, 178, 54);
/* oklch */ color: oklch(72.5% 0.147 118.2);
Tailwind
colors: {
  custom: {
    50: '#bec975',
    500: '#9eb236',
    950: '#000000',
  },
}
SCSS
$custom: #9eb236;
$custom-light: #bec975;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb236",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 69.677,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72492,
    "c": 0.14736,
    "h": 118.2
  },
  "luminance": 0.39376
}

Semantic roles & 50–950 ramp

primary
#9EB236
secondary
#8A7FC5
accent
#4BDD62
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9EB236

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

Preview Lab → · Contrast checker → · Palette generator →

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