#9EA12F#9EA12F

#9EA12F is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.6% C 0.133 H 110.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9EA12F
RGBrgb(158, 161, 47)
HSLhsl(62, 55%, 41%)
HSVhsv(62, 71%, 63%)
CMYKcmyk(1.9%, 0%, 70.8%, 36.9%)
CIE-LABlab(64.13, -15.26, 55.77)
CIE-LCHlch(64.13, 57.83, 105.30°)
OKLaboklab(68.55% -0.0475 0.1241)
OKLCHoklch(68.55% 0.133 110.9)
XYZxyz(27.3594, 32.9648, 7.6104)
Luminance0.3296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA12F #322FA1
analogous
#A16B2F #9EA12F #65A12F
triadic
#9EA12F #2F9EA1 #A12F9E
tetradic
#9EA12F #2FA16B #322FA1 #A12F65
square
#9EA12F #2FA16B #322FA1 #A12F65
split-complementary
#9EA12F #2F65A1 #6B2FA1
monochromatic
#414213 #707221 #9EA12F #C5C945 #D4D674

Accessibility & contrast

On white

2.77
#9EA12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#9EA12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA12F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA12F#FFFFFF#000000##000000
##9EA12F1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1C
Deuteranopia (green-blind)
#AE9D37
Tritanopia (blue-blind)
#A9978B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ea12f;
/* rgb */ color: rgb(158, 161, 47);
/* oklch */ color: oklch(68.6% 0.133 110.9);
Tailwind
colors: {
  custom: {
    50: '#bebc6f',
    500: '#9ea12f',
    950: '#000000',
  },
}
SCSS
$custom: #9ea12f;
$custom-light: #bebc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea12f",
  "rgb": {
    "r": 158,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 61.579,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68555,
    "c": 0.13285,
    "h": 110.9
  },
  "luminance": 0.32964
}

Semantic roles & 50–950 ramp

primary
#9EA12F
secondary
#706EBE
accent
#4ADE4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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