#9EAA27#9EAA27

#9EAA27 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.6% C 0.147 H 114.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#9EAA27
RGBrgb(158, 170, 39)
HSLhsl(65, 63%, 41%)
HSVhsv(65, 77%, 67%)
CMYKcmyk(7.1%, 0%, 77.1%, 33.3%)
CIE-LABlab(66.65, -20.24, 60.95)
CIE-LCHlch(66.65, 64.22, 108.37°)
OKLaboklab(70.55% -0.062 0.1336)
OKLCHoklch(70.55% 0.147 114.9)
XYZxyz(28.8423, 36.1656, 7.3803)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAA27 #3327AA
analogous
#AA7427 #9EAA27 #5CAA27
triadic
#9EAA27 #279EAA #AA279E
tetradic
#9EAA27 #27AA74 #3327AA #AA275C
square
#9EAA27 #27AA74 #3327AA #AA275C
split-complementary
#9EAA27 #275CAA #7427AA
monochromatic
#414610 #70781C #9EAA27 #C4D23C #D3DE6E

Accessibility & contrast

On white

2.55
#9EAA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#9EAA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAA27
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAA27#FFFFFF#000000##000000
##9EAA271.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A102
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#A9A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9eaa27;
/* rgb */ color: rgb(158, 170, 39);
/* oklch */ color: oklch(70.6% 0.147 114.9);
Tailwind
colors: {
  custom: {
    50: '#bec36c',
    500: '#9eaa27',
    950: '#000000',
  },
}
SCSS
$custom: #9eaa27;
$custom-light: #bec36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaa27",
  "rgb": {
    "r": 158,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 65.496,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70554,
    "c": 0.14728,
    "h": 114.9
  },
  "luminance": 0.36165
}

Semantic roles & 50–950 ramp

primary
#9EAA27
secondary
#7169C4
accent
#42E651
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAA27

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

Preview Lab → · Contrast checker → · Palette generator →

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