#8E741F#8E741F

#8E741F is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.9% C 0.104 H 91.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8E741F
RGBrgb(142, 116, 31)
HSLhsl(46, 64%, 34%)
HSVhsv(46, 78%, 56%)
CMYKcmyk(0%, 18.3%, 78.2%, 44.3%)
CIE-LABlab(49.91, 1.17, 47.67)
CIE-LCHlch(49.91, 47.68, 88.60°)
OKLaboklab(56.87% -0.0018 0.1044)
OKLCHoklch(56.87% 0.104 91)
XYZxyz(17.6491, 18.3416, 3.9067)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E741F #1F398E
analogous
#8E3D1F #8E741F #718E1F
triadic
#8E741F #1F8E74 #741F8E
tetradic
#8E741F #1F8E3D #1F398E #8E1F71
square
#8E741F #1F8E3D #1F398E #8E1F71
split-complementary
#8E741F #1F718E #3D1F8E
monochromatic
#2A2209 #5C4B14 #8E741F #C09D2A #D9B84F

Accessibility & contrast

On white

4.50
#8E741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8E741F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E741F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E741F#FFFFFF#000000##000000
##8E741F1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82720F
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#9A6A64
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e741f;
/* rgb */ color: rgb(142, 116, 31);
/* oklch */ color: oklch(56.9% 0.104 91.0);
Tailwind
colors: {
  custom: {
    50: '#b39b62',
    500: '#8e741f',
    950: '#000000',
  },
}
SCSS
$custom: #8e741f;
$custom-light: #b39b62;
$custom-dark: #000000;
JSON
{
  "hex": "#8e741f",
  "rgb": {
    "r": 142,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 45.946,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56866,
    "c": 0.10445,
    "h": 91
  },
  "luminance": 0.1834
}

Semantic roles & 50–950 ramp

primary
#8E741F
secondary
#4D67BB
accent
#68E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8E741F

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

Preview Lab → · Contrast checker → · Palette generator →

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