#8E7A1C#8E7A1C

#8E7A1C is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.2% C 0.110 H 96.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8E7A1C
RGBrgb(142, 122, 28)
HSLhsl(49, 67%, 33%)
HSVhsv(49, 80%, 56%)
CMYKcmyk(0%, 14.1%, 80.3%, 44.3%)
CIE-LABlab(51.56, -2.35, 50.29)
CIE-LCHlch(51.56, 50.35, 92.67°)
OKLaboklab(58.16% -0.0121 0.1094)
OKLCHoklch(58.16% 0.11 96.3)
XYZxyz(18.3255, 19.7547, 3.9462)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7A1C #1C308E
analogous
#8E411C #8E7A1C #698E1C
triadic
#8E7A1C #1C8E7A #7A1C8E
tetradic
#8E7A1C #1C8E41 #1C308E #8E1C69
square
#8E7A1C #1C8E41 #1C308E #8E1C69
split-complementary
#8E7A1C #1C698E #411C8E
monochromatic
#282208 #5B4E12 #8E7A1C #C1A626 #DBC249

Accessibility & contrast

On white

4.24
#8E7A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8E7A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7A1C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7A1C#FFFFFF#000000##000000
##8E7A1C1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877706
Deuteranopia (green-blind)
#8C7E23
Tritanopia (blue-blind)
#9A7068
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8e7a1c;
/* rgb */ color: rgb(142, 122, 28);
/* oklch */ color: oklch(58.2% 0.110 96.3);
Tailwind
colors: {
  custom: {
    50: '#b3a061',
    500: '#8e7a1c',
    950: '#000000',
  },
}
SCSS
$custom: #8e7a1c;
$custom-light: #b3a061;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7a1c",
  "rgb": {
    "r": 142,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 49.474,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58164,
    "c": 0.11006,
    "h": 96.3
  },
  "luminance": 0.19754
}

Semantic roles & 50–950 ramp

primary
#8E7A1C
secondary
#495DBD
accent
#5CEA3E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8E7A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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