#8E942E#8E942E

#8E942E is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.2% C 0.123 H 112.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8E942E
RGBrgb(142, 148, 46)
HSLhsl(64, 53%, 38%)
HSVhsv(64, 69%, 58%)
CMYKcmyk(4.1%, 0%, 68.9%, 42%)
CIE-LABlab(59.09, -15.57, 50.71)
CIE-LCHlch(59.09, 53.05, 107.07°)
OKLaboklab(64.2% -0.0475 0.1137)
OKLCHoklch(64.2% 0.123 112.7)
XYZxyz(22.2390, 27.1283, 6.6490)
Luminance0.2713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E942E #342E94
analogous
#94672E #8E942E #5B942E
triadic
#8E942E #2E8E94 #942E8E
tetradic
#8E942E #2E9467 #342E94 #942E5B
square
#8E942E #2E9467 #342E94 #942E5B
split-complementary
#8E942E #2E5B94 #672E94
monochromatic
#343711 #61651F #8E942E #BBC33D #CBD16B

Accessibility & contrast

On white

3.27
#8E942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#8E942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E942E
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E942E#FFFFFF#000000##000000
##8E942E1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1F
Deuteranopia (green-blind)
#9F8F35
Tritanopia (blue-blind)
#988B80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8e942e;
/* rgb */ color: rgb(142, 148, 46);
/* oklch */ color: oklch(64.2% 0.123 112.7);
Tailwind
colors: {
  custom: {
    50: '#b2b36d',
    500: '#8e942e',
    950: '#000000',
  },
}
SCSS
$custom: #8e942e;
$custom-light: #b2b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e942e",
  "rgb": {
    "r": 142,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 63.529,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.642,
    "c": 0.12325,
    "h": 112.7
  },
  "luminance": 0.27128
}

Semantic roles & 50–950 ramp

primary
#8E942E
secondary
#6A66B8
accent
#4CDC54
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#111107
muted
#80807A

Preview Lab

Preview with #8E942E

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

Preview Lab → · Contrast checker → · Palette generator →

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