#9EA826#9EA826

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

Color values

HEX#9EA826
RGBrgb(158, 168, 38)
HSLhsl(65, 63%, 40%)
HSVhsv(65, 77%, 66%)
CMYKcmyk(6%, 0%, 77.4%, 34.1%)
CIE-LABlab(66.07, -19.27, 60.74)
CIE-LCHlch(66.07, 63.72, 107.60°)
OKLaboklab(70.09% -0.0594 0.133)
OKLCHoklch(70.09% 0.146 114.1)
XYZxyz(28.4539, 35.4149, 7.1702)
Luminance0.3541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA826 #3026A8
analogous
#A87126 #9EA826 #5DA826
triadic
#9EA826 #269EA8 #A8269E
tetradic
#9EA826 #26A871 #3026A8 #A8265D
square
#9EA826 #26A871 #3026A8 #A8265D
split-complementary
#9EA826 #265DA8 #7126A8
monochromatic
#40440F #6F761B #9EA826 #C6D239 #D5DE6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA826#FFFFFF#000000##000000
##9EA8261.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)
#B59F01
Deuteranopia (green-blind)
#B4A232
Tritanopia (blue-blind)
#A99E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ea826;
/* rgb */ color: rgb(158, 168, 38);
/* oklch */ color: oklch(70.1% 0.146 114.1);
Tailwind
colors: {
  custom: {
    50: '#bec16c',
    500: '#9ea826',
    950: '#000000',
  },
}
SCSS
$custom: #9ea826;
$custom-light: #bec16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea826",
  "rgb": {
    "r": 158,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 64.615,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70091,
    "c": 0.14563,
    "h": 114.1
  },
  "luminance": 0.35414
}

Semantic roles & 50–950 ramp

primary
#9EA826
secondary
#6D66C4
accent
#42E64E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA826

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

Preview Lab → · Contrast checker → · Palette generator →

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