#9EA62F#9EA62F

#9EA62F is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.7% C 0.138 H 113.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9EA62F
RGBrgb(158, 166, 47)
HSLhsl(64, 56%, 42%)
HSVhsv(64, 72%, 65%)
CMYKcmyk(4.8%, 0%, 71.7%, 34.9%)
CIE-LABlab(65.55, -17.83, 57.16)
CIE-LCHlch(65.55, 59.88, 107.33°)
OKLaboklab(69.69% -0.0546 0.127)
OKLCHoklch(69.69% 0.138 113.3)
XYZxyz(28.2507, 34.7474, 7.9075)
Luminance0.3475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA62F #372FA6
analogous
#A6732F #9EA62F #62A62F
triadic
#9EA62F #2F9EA6 #A62F9E
tetradic
#9EA62F #2FA673 #372FA6 #A62F62
square
#9EA62F #2FA673 #372FA6 #A62F62
split-complementary
#9EA62F #2F62A6 #732FA6
monochromatic
#434714 #717621 #9EA62F #C2CB47 #D2D877

Accessibility & contrast

On white

2.64
#9EA62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#9EA62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA62F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA62F#FFFFFF#000000##000000
##9EA62F1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1A
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#A99C8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ea62f;
/* rgb */ color: rgb(158, 166, 47);
/* oklch */ color: oklch(69.7% 0.138 113.3);
Tailwind
colors: {
  custom: {
    50: '#bec070',
    500: '#9ea62f',
    950: '#000000',
  },
}
SCSS
$custom: #9ea62f;
$custom-light: #bec070;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea62f",
  "rgb": {
    "r": 158,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 64.034,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69691,
    "c": 0.13826,
    "h": 113.3
  },
  "luminance": 0.34747
}

Semantic roles & 50–950 ramp

primary
#9EA62F
secondary
#7670C1
accent
#49DF53
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA62F

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

Preview Lab → · Contrast checker → · Palette generator →

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