#8E7E27#8E7E27

#8E7E27 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.106 H 98.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8E7E27
RGBrgb(142, 126, 39)
HSLhsl(51, 57%, 35%)
HSVhsv(51, 73%, 56%)
CMYKcmyk(0%, 11.3%, 72.5%, 44.3%)
CIE-LABlab(52.75, -4.08, 47.22)
CIE-LCHlch(52.75, 47.39, 94.93°)
OKLaboklab(59.13% -0.0158 0.1051)
OKLCHoklch(59.13% 0.106 98.6)
XYZxyz(18.9833, 20.8199, 4.9378)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7E27 #27378E
analogous
#8E4B27 #8E7E27 #6A8E27
triadic
#8E7E27 #278E7E #7E278E
tetradic
#8E7E27 #278E4B #27378E #8E276A
square
#8E7E27 #278E4B #27378E #8E276A
split-complementary
#8E7E27 #276A8E #4B278E
monochromatic
#2E290D #5E531A #8E7E27 #BEA934 #D2C05D

Accessibility & contrast

On white

4.07
#8E7E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8E7E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7E27
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7E27#FFFFFF#000000##000000
##8E7E271.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#99746D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8e7e27;
/* rgb */ color: rgb(142, 126, 39);
/* oklch */ color: oklch(59.1% 0.106 98.6);
Tailwind
colors: {
  custom: {
    50: '#b2a367',
    500: '#8e7e27',
    950: '#000000',
  },
}
SCSS
$custom: #8e7e27;
$custom-light: #b2a367;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7e27",
  "rgb": {
    "r": 142,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 50.68,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59132,
    "c": 0.10629,
    "h": 98.6
  },
  "luminance": 0.20819
}

Semantic roles & 50–950 ramp

primary
#8E7E27
secondary
#5968B8
accent
#5FE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8E7E27

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

Preview Lab → · Contrast checker → · Palette generator →

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