#8E912E#8E912E

#8E912E is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.5% C 0.120 H 111.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8E912E
RGBrgb(142, 145, 46)
HSLhsl(62, 52%, 37%)
HSVhsv(62, 68%, 57%)
CMYKcmyk(2.1%, 0%, 68.3%, 43.1%)
CIE-LABlab(58.23, -14.00, 49.83)
CIE-LCHlch(58.23, 51.76, 105.69°)
OKLaboklab(63.51% -0.0431 0.1119)
OKLCHoklch(63.51% 0.12 111.1)
XYZxyz(21.7745, 26.1994, 6.4942)
Luminance0.2620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E912E #312E91
analogous
#91622E #8E912E #5D912E
triadic
#8E912E #2E8E91 #912E8E
tetradic
#8E912E #2E9162 #312E91 #912E5D
square
#8E912E #2E9162 #312E91 #912E5D
split-complementary
#8E912E #2E5D91 #622E91
monochromatic
#333411 #61631F #8E912E #BBBF3D #CDD06A

Accessibility & contrast

On white

3.37
#8E912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#8E912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E912E
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E912E#FFFFFF#000000##000000
##8E912E1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B1F
Deuteranopia (green-blind)
#9D8D35
Tritanopia (blue-blind)
#98887D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8e912e;
/* rgb */ color: rgb(142, 145, 46);
/* oklch */ color: oklch(63.5% 0.120 111.1);
Tailwind
colors: {
  custom: {
    50: '#b2b16d',
    500: '#8e912e',
    950: '#000000',
  },
}
SCSS
$custom: #8e912e;
$custom-light: #b2b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e912e",
  "rgb": {
    "r": 142,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 61.818,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63506,
    "c": 0.11989,
    "h": 111.1
  },
  "luminance": 0.26199
}

Semantic roles & 50–950 ramp

primary
#8E912E
secondary
#6764B7
accent
#4DDB51
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E912E

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

Preview Lab → · Contrast checker → · Palette generator →

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