#9EA820#9EA820

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

Color values

HEX#9EA820
RGBrgb(158, 168, 32)
HSLhsl(64, 68%, 39%)
HSVhsv(64, 81%, 66%)
CMYKcmyk(6%, 0%, 81%, 34.1%)
CIE-LABlab(66.04, -19.50, 62.49)
CIE-LCHlch(66.04, 65.46, 107.33°)
OKLaboklab(70.06% -0.0605 0.1356)
OKLCHoklch(70.06% 0.149 114.1)
XYZxyz(28.3648, 35.3792, 6.7009)
Luminance0.3538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA820 #2A20A8
analogous
#A86E20 #9EA820 #5AA820
triadic
#9EA820 #209EA8 #A8209E
tetradic
#9EA820 #20A86E #2A20A8 #A8205A
square
#9EA820 #20A86E #2A20A8 #A8205A
split-complementary
#9EA820 #205AA8 #6E20A8
monochromatic
#3D410C #6E7516 #9EA820 #CBD72E #D8E161

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA820#FFFFFF#000000##000000
##9EA8201.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)
#B59F00
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#A99E8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ea820;
/* rgb */ color: rgb(158, 168, 32);
/* oklch */ color: oklch(70.1% 0.149 114.1);
Tailwind
colors: {
  custom: {
    50: '#bec169',
    500: '#9ea820',
    950: '#000000',
  },
}
SCSS
$custom: #9ea820;
$custom-light: #bec169;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea820",
  "rgb": {
    "r": 158,
    "g": 168,
    "b": 32
  },
  "hsl": {
    "h": 64.412,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.7006,
    "c": 0.14852,
    "h": 114.1
  },
  "luminance": 0.35379
}

Semantic roles & 50–950 ramp

primary
#9EA820
secondary
#665EC6
accent
#3DEB4A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA820

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

Preview Lab → · Contrast checker → · Palette generator →

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