#9EA236#9EA236

#9EA236 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.8% C 0.129 H 111.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9EA236
RGBrgb(158, 162, 54)
HSLhsl(62, 50%, 42%)
HSVhsv(62, 67%, 64%)
CMYKcmyk(2.5%, 0%, 66.7%, 36.5%)
CIE-LABlab(64.46, -15.38, 53.35)
CIE-LCHlch(64.46, 55.52, 106.08°)
OKLaboklab(68.84% -0.0471 0.1201)
OKLCHoklch(68.84% 0.129 111.4)
XYZxyz(27.6876, 33.3768, 8.4732)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA236 #3A36A2
analogous
#A27036 #9EA236 #68A236
triadic
#9EA236 #369EA2 #A2369E
tetradic
#9EA236 #36A270 #3A36A2 #A23668
square
#9EA236 #36A270 #3A36A2 #A23668
split-complementary
#9EA236 #3668A2 #7036A2
monochromatic
#444617 #717427 #9EA236 #C0C550 #D1D47E

Accessibility & contrast

On white

2.74
#9EA236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#9EA236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA236
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA236#FFFFFF#000000##000000
##9EA2361.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B27
Deuteranopia (green-blind)
#AF9E3D
Tritanopia (blue-blind)
#A9988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ea236;
/* rgb */ color: rgb(158, 162, 54);
/* oklch */ color: oklch(68.8% 0.129 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebd73',
    500: '#9ea236',
    950: '#000000',
  },
}
SCSS
$custom: #9ea236;
$custom-light: #bebd73;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea236",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 62.222,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68837,
    "c": 0.12904,
    "h": 111.4
  },
  "luminance": 0.33376
}

Semantic roles & 50–950 ramp

primary
#9EA236
secondary
#7977BD
accent
#4EDA53
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA236

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

Preview Lab → · Contrast checker → · Palette generator →

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