#8E862B#8E862B

#8E862B is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.0% C 0.111 H 104.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8E862B
RGBrgb(142, 134, 43)
HSLhsl(55, 54%, 36%)
HSVhsv(55, 70%, 56%)
CMYKcmyk(0%, 5.6%, 69.7%, 44.3%)
CIE-LABlab(55.05, -8.27, 47.85)
CIE-LCHlch(55.05, 48.56, 99.80°)
OKLaboklab(60.96% -0.0273 0.1072)
OKLCHoklch(60.96% 0.111 104.3)
XYZxyz(20.1173, 22.9762, 5.6602)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E862B #2B338E
analogous
#8E552B #8E862B #658E2B
triadic
#8E862B #2B8E86 #862B8E
tetradic
#8E862B #2B8E55 #2B338E #8E2B65
square
#8E862B #2B8E55 #2B338E #8E2B65
split-complementary
#8E862B #2B658E #552B8E
monochromatic
#302D0F #5F5A1D #8E862B #BDB239 #D0C763

Accessibility & contrast

On white

3.75
#8E862B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8E862B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E862B
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E862B#FFFFFF#000000##000000
##8E862B1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811E
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#997D74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e862b;
/* rgb */ color: rgb(142, 134, 43);
/* oklch */ color: oklch(61.0% 0.111 104.3);
Tailwind
colors: {
  custom: {
    50: '#b2a96a',
    500: '#8e862b',
    950: '#000000',
  },
}
SCSS
$custom: #8e862b;
$custom-light: #b2a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e862b",
  "rgb": {
    "r": 142,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 55.152,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60964,
    "c": 0.11059,
    "h": 104.3
  },
  "luminance": 0.22975
}

Semantic roles & 50–950 ramp

primary
#8E862B
secondary
#5F66B6
accent
#57DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8E862B

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

Preview Lab → · Contrast checker → · Palette generator →

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