#9EA927#9EA927

#9EA927 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.3% C 0.146 H 114.5°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#9EA927
RGBrgb(158, 169, 39)
HSLhsl(65, 63%, 41%)
HSVhsv(65, 77%, 66%)
CMYKcmyk(6.5%, 0%, 76.9%, 33.7%)
CIE-LABlab(66.36, -19.73, 60.69)
CIE-LCHlch(66.36, 63.81, 108.01°)
OKLaboklab(70.33% -0.0606 0.133)
OKLCHoklch(70.33% 0.146 114.5)
XYZxyz(28.6556, 35.7921, 7.3181)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA927 #3227A9
analogous
#A97327 #9EA927 #5DA927
triadic
#9EA927 #279EA9 #A9279E
tetradic
#9EA927 #27A973 #3227A9 #A9275D
square
#9EA927 #27A973 #3227A9 #A9275D
split-complementary
#9EA927 #275DA9 #7327A9
monochromatic
#414610 #70771C #9EA927 #C5D23B #D4DD6D

Accessibility & contrast

On white

2.57
#9EA927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#9EA927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA927
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA927#FFFFFF#000000##000000
##9EA9271.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A003
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#A99F91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ea927;
/* rgb */ color: rgb(158, 169, 39);
/* oklch */ color: oklch(70.3% 0.146 114.5);
Tailwind
colors: {
  custom: {
    50: '#bec26c',
    500: '#9ea927',
    950: '#000000',
  },
}
SCSS
$custom: #9ea927;
$custom-light: #bec26c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea927",
  "rgb": {
    "r": 158,
    "g": 169,
    "b": 39
  },
  "hsl": {
    "h": 65.077,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70325,
    "c": 0.1462,
    "h": 114.5
  },
  "luminance": 0.35792
}

Semantic roles & 50–950 ramp

primary
#9EA927
secondary
#7068C4
accent
#42E650
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA927

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

Preview Lab → · Contrast checker → · Palette generator →

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