#9EA23A#9EA23A

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

Color values

HEX#9EA23A
RGBrgb(158, 162, 58)
HSLhsl(62, 47%, 43%)
HSVhsv(62, 64%, 64%)
CMYKcmyk(2.5%, 0%, 64.2%, 36.5%)
CIE-LABlab(64.50, -15.13, 51.70)
CIE-LCHlch(64.50, 53.87, 106.31°)
OKLaboklab(68.87% -0.0459 0.1173)
OKLCHoklch(68.87% 0.126 111.4)
XYZxyz(27.7854, 33.4159, 8.9884)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA23A #3E3AA2
analogous
#A2723A #9EA23A #6AA23A
triadic
#9EA23A #3A9EA2 #A23A9E
tetradic
#9EA23A #3AA272 #3E3AA2 #A23A6A
square
#9EA23A #3AA272 #3E3AA2 #A23A6A
split-complementary
#9EA23A #3A6AA2 #723AA2
monochromatic
#46481A #72752A #9EA23A #BFC357 #D0D384

Accessibility & contrast

On white

2.73
#9EA23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA23A#FFFFFF#000000##000000
##9EA23A1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2D
Deuteranopia (green-blind)
#AF9E41
Tritanopia (blue-blind)
#A8988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ea23a;
/* rgb */ color: rgb(158, 162, 58);
/* oklch */ color: oklch(68.9% 0.126 111.4);
Tailwind
colors: {
  custom: {
    50: '#bdbd75',
    500: '#9ea23a',
    950: '#000000',
  },
}
SCSS
$custom: #9ea23a;
$custom-light: #bdbd75;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea23a",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 58
  },
  "hsl": {
    "h": 62.308,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68872,
    "c": 0.12598,
    "h": 111.4
  },
  "luminance": 0.33415
}

Semantic roles & 50–950 ramp

primary
#9EA23A
secondary
#7E7BBD
accent
#51D756
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9EA23A

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

Preview Lab → · Contrast checker → · Palette generator →

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