#9EA827#9EA827

#9EA827 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.1% C 0.145 H 114.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#9EA827
RGBrgb(158, 168, 39)
HSLhsl(65, 62%, 41%)
HSVhsv(65, 77%, 66%)
CMYKcmyk(6%, 0%, 76.8%, 34.1%)
CIE-LABlab(66.08, -19.23, 60.42)
CIE-LCHlch(66.08, 63.41, 107.65°)
OKLaboklab(70.1% -0.0592 0.1325)
OKLCHoklch(70.1% 0.145 114.1)
XYZxyz(28.4703, 35.4214, 7.2563)
Luminance0.3542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA827 #3127A8
analogous
#A87127 #9EA827 #5DA827
triadic
#9EA827 #279EA8 #A8279E
tetradic
#9EA827 #27A871 #3127A8 #A8275D
square
#9EA827 #27A871 #3127A8 #A8275D
split-complementary
#9EA827 #275DA8 #7127A8
monochromatic
#414510 #6F761B #9EA827 #C6D13B #D4DD6C

Accessibility & contrast

On white

2.60
#9EA827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#9EA827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA827
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA827#FFFFFF#000000##000000
##9EA8271.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F04
Deuteranopia (green-blind)
#B4A232
Tritanopia (blue-blind)
#A99E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ea827;
/* rgb */ color: rgb(158, 168, 39);
/* oklch */ color: oklch(70.1% 0.145 114.1);
Tailwind
colors: {
  custom: {
    50: '#bec16c',
    500: '#9ea827',
    950: '#000000',
  },
}
SCSS
$custom: #9ea827;
$custom-light: #bec16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea827",
  "rgb": {
    "r": 158,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 64.651,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70096,
    "c": 0.14511,
    "h": 114.1
  },
  "luminance": 0.35421
}

Semantic roles & 50–950 ramp

primary
#9EA827
secondary
#6E67C3
accent
#42E54F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA827

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

Preview Lab → · Contrast checker → · Palette generator →

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