#8E9537#8E9537

#8E9537 is a light, moderate yellow. Relative luminance 0.275; OKLCH L 64.5% C 0.117 H 113.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8E9537
RGBrgb(142, 149, 55)
HSLhsl(64, 46%, 40%)
HSVhsv(64, 63%, 58%)
CMYKcmyk(4.7%, 0%, 63.1%, 41.6%)
CIE-LABlab(59.45, -15.51, 47.26)
CIE-LCHlch(59.45, 49.74, 108.16°)
OKLaboklab(64.51% -0.0463 0.1079)
OKLCHoklch(64.51% 0.117 113.2)
XYZxyz(22.5929, 27.5220, 7.7358)
Luminance0.2752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9537 #3E3795
analogous
#956D37 #8E9537 #5F9537
triadic
#8E9537 #378E95 #95378E
tetradic
#8E9537 #37956D #3E3795 #95375F
square
#8E9537 #37956D #3E3795 #95375F
split-complementary
#8E9537 #375F95 #6D3795
monochromatic
#393C16 #636827 #8E9537 #B5BD4C #C7CD79

Accessibility & contrast

On white

3.23
#8E9537 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#8E9537 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9537
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9537#FFFFFF#000000##000000
##8E95371.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E2C
Deuteranopia (green-blind)
#A0903D
Tritanopia (blue-blind)
#978C81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e9537;
/* rgb */ color: rgb(142, 149, 55);
/* oklch */ color: oklch(64.5% 0.117 113.2);
Tailwind
colors: {
  custom: {
    50: '#b1b472',
    500: '#8e9537',
    950: '#000000',
  },
}
SCSS
$custom: #8e9537;
$custom-light: #b1b472;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9537",
  "rgb": {
    "r": 142,
    "g": 149,
    "b": 55
  },
  "hsl": {
    "h": 64.468,
    "s": 46.078,
    "l": 40
  },
  "oklch": {
    "l": 0.64512,
    "c": 0.11739,
    "h": 113.2
  },
  "luminance": 0.27522
}

Semantic roles & 50–950 ramp

primary
#8E9537
secondary
#7771B6
accent
#52D65C
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8E9537

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

Preview Lab → · Contrast checker → · Palette generator →

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