#8E9740#8E9740

#8E9740 is a light, moderate yellow. Relative luminance 0.283; OKLCH L 65.1% C 0.112 H 114.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8E9740
RGBrgb(142, 151, 64)
HSLhsl(66, 40%, 42%)
HSVhsv(66, 58%, 59%)
CMYKcmyk(6%, 0%, 57.6%, 40.8%)
CIE-LABlab(60.12, -15.85, 43.85)
CIE-LCHlch(60.12, 46.62, 109.88°)
OKLaboklab(65.07% -0.0463 0.1018)
OKLCHoklch(65.07% 0.112 114.5)
XYZxyz(23.1478, 28.2545, 9.0838)
Luminance0.2825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9740 #494097
analogous
#977540 #8E9740 #639740
triadic
#8E9740 #408E97 #97408E
tetradic
#8E9740 #409775 #494097 #974063
square
#8E9740 #409775 #494097 #974063
split-complementary
#8E9740 #406397 #754097
monochromatic
#3D411C #666C2E #8E9740 #B0B95B #C4CC86

Accessibility & contrast

On white

3.16
#8E9740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#8E9740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9740
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9740#FFFFFF#000000##000000
##8E97401.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19037
Deuteranopia (green-blind)
#A19245
Tritanopia (blue-blind)
#968F84
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8e9740;
/* rgb */ color: rgb(142, 151, 64);
/* oklch */ color: oklch(65.1% 0.112 114.5);
Tailwind
colors: {
  custom: {
    50: '#b1b578',
    500: '#8e9740',
    950: '#000000',
  },
}
SCSS
$custom: #8e9740;
$custom-light: #b1b578;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9740",
  "rgb": {
    "r": 142,
    "g": 151,
    "b": 64
  },
  "hsl": {
    "h": 66.207,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6507,
    "c": 0.11185,
    "h": 114.5
  },
  "luminance": 0.28254
}

Semantic roles & 50–950 ramp

primary
#8E9740
secondary
#837DB6
accent
#57D064
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8E9740

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

Preview Lab → · Contrast checker → · Palette generator →

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