#9EB235#9EB235

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

Color values

HEX#9EB235
RGBrgb(158, 178, 53)
HSLhsl(70, 54%, 45%)
HSVhsv(70, 70%, 70%)
CMYKcmyk(11.2%, 0%, 70.2%, 30.2%)
CIE-LABlab(69.02, -23.52, 58.34)
CIE-LCHlch(69.02, 62.91, 111.96°)
OKLaboklab(72.48% -0.0699 0.1305)
OKLCHoklch(72.48% 0.148 118.2)
XYZxyz(30.6642, 39.3672, 9.3507)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB235 #4935B2
analogous
#B28735 #9EB235 #5FB235
triadic
#9EB235 #359EB2 #B2359E
tetradic
#9EB235 #35B287 #4935B2 #B2355F
square
#9EB235 #35B287 #4935B2 #B2355F
split-complementary
#9EB235 #355FB2 #8735B2
monochromatic
#4A5419 #748327 #9EB235 #BACD57 #CEDB86

Accessibility & contrast

On white

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

On black

8.87
#9EB235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB235
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB235#FFFFFF#000000##000000
##9EB2351.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA820
Deuteranopia (green-blind)
#BCA93F
Tritanopia (blue-blind)
#A7A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb235;
/* rgb */ color: rgb(158, 178, 53);
/* oklch */ color: oklch(72.5% 0.148 118.2);
Tailwind
colors: {
  custom: {
    50: '#bec974',
    500: '#9eb235',
    950: '#000000',
  },
}
SCSS
$custom: #9eb235;
$custom-light: #bec974;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb235",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 69.6,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72484,
    "c": 0.14803,
    "h": 118.2
  },
  "luminance": 0.39367
}

Semantic roles & 50–950 ramp

primary
#9EB235
secondary
#897EC5
accent
#4ADD62
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9EB235

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

Preview Lab → · Contrast checker → · Palette generator →

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