#8E9726#8E9726

#8E9726 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.8% C 0.132 H 114.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8E9726
RGBrgb(142, 151, 38)
HSLhsl(65, 60%, 37%)
HSVhsv(65, 75%, 59%)
CMYKcmyk(6%, 0%, 74.8%, 40.8%)
CIE-LABlab(59.91, -17.57, 54.55)
CIE-LCHlch(59.91, 57.31, 107.85°)
OKLaboklab(64.84% -0.0538 0.1204)
OKLCHoklch(64.84% 0.132 114.1)
XYZxyz(22.5725, 28.0244, 6.0535)
Luminance0.2802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9726 #2F2697
analogous
#976826 #8E9726 #569726
triadic
#8E9726 #268E97 #97268E
tetradic
#8E9726 #269768 #2F2697 #972656
square
#8E9726 #269768 #2F2697 #972656
split-complementary
#8E9726 #265697 #682697
monochromatic
#32350D #60661A #8E9726 #BCC832 #CED760

Accessibility & contrast

On white

3.18
#8E9726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#8E9726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9726
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9726#FFFFFF#000000##000000
##8E97261.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0E
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#988E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8e9726;
/* rgb */ color: rgb(142, 151, 38);
/* oklch */ color: oklch(64.8% 0.132 114.1);
Tailwind
colors: {
  custom: {
    50: '#b2b569',
    500: '#8e9726',
    950: '#000000',
  },
}
SCSS
$custom: #8e9726;
$custom-light: #b2b569;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9726",
  "rgb": {
    "r": 142,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 64.779,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64838,
    "c": 0.1319,
    "h": 114.1
  },
  "luminance": 0.28024
}

Semantic roles & 50–950 ramp

primary
#8E9726
secondary
#645CBC
accent
#45E351
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9726

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

Preview Lab → · Contrast checker → · Palette generator →

#8E9726 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva