#9EA61F#9EA61F

#9EA61F is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.6% C 0.147 H 113.2°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#9EA61F
RGBrgb(158, 166, 31)
HSLhsl(64, 69%, 39%)
HSVhsv(64, 81%, 65%)
CMYKcmyk(4.8%, 0%, 81.3%, 34.9%)
CIE-LABlab(65.47, -18.52, 62.26)
CIE-LCHlch(65.47, 64.96, 106.57°)
OKLaboklab(69.6% -0.0579 0.135)
OKLCHoklch(69.6% 0.147 113.2)
XYZxyz(27.9850, 34.6411, 6.5083)
Luminance0.3464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA61F #271FA6
analogous
#A66A1F #9EA61F #5AA61F
triadic
#9EA61F #1F9EA6 #A61F9E
tetradic
#9EA61F #1FA66A #271FA6 #A61F5A
square
#9EA61F #1FA66A #271FA6 #A61F5A
split-complementary
#9EA61F #1F5AA6 #6A1FA6
monochromatic
#3C3F0C #6D7215 #9EA61F #CDD72B #D9E15E

Accessibility & contrast

On white

2.65
#9EA61F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#9EA61F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA61F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA61F#FFFFFF#000000##000000
##9EA61F1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B3A02C
Tritanopia (blue-blind)
#A99C8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ea61f;
/* rgb */ color: rgb(158, 166, 31);
/* oklch */ color: oklch(69.6% 0.147 113.2);
Tailwind
colors: {
  custom: {
    50: '#bec069',
    500: '#9ea61f',
    950: '#000000',
  },
}
SCSS
$custom: #9ea61f;
$custom-light: #bec069;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea61f",
  "rgb": {
    "r": 158,
    "g": 166,
    "b": 31
  },
  "hsl": {
    "h": 63.556,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69598,
    "c": 0.14686,
    "h": 113.2
  },
  "luminance": 0.3464
}

Semantic roles & 50–950 ramp

primary
#9EA61F
secondary
#625BC5
accent
#3CEB47
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA61F

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

Preview Lab → · Contrast checker → · Palette generator →

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