#8E7C1C#8E7C1C

#8E7C1C is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.112 H 97.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8E7C1C
RGBrgb(142, 124, 28)
HSLhsl(51, 67%, 33%)
HSVhsv(51, 80%, 56%)
CMYKcmyk(0%, 12.7%, 80.3%, 44.3%)
CIE-LABlab(52.12, -3.47, 50.80)
CIE-LCHlch(52.12, 50.92, 93.91°)
OKLaboklab(58.61% -0.0153 0.1105)
OKLCHoklch(58.61% 0.112 97.9)
XYZxyz(18.5736, 20.2509, 4.0289)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7C1C #1C2E8E
analogous
#8E431C #8E7C1C #678E1C
triadic
#8E7C1C #1C8E7C #7C1C8E
tetradic
#8E7C1C #1C8E43 #1C2E8E #8E1C67
square
#8E7C1C #1C8E43 #1C2E8E #8E1C67
split-complementary
#8E7C1C #1C678E #431C8E
monochromatic
#282308 #5B4F12 #8E7C1C #C1A926 #DBC449

Accessibility & contrast

On white

4.16
#8E7C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8E7C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7C1C
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7C1C#FFFFFF#000000##000000
##8E7C1C1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897905
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#9A726A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e7c1c;
/* rgb */ color: rgb(142, 124, 28);
/* oklch */ color: oklch(58.6% 0.112 97.9);
Tailwind
colors: {
  custom: {
    50: '#b3a161',
    500: '#8e7c1c',
    950: '#000000',
  },
}
SCSS
$custom: #8e7c1c;
$custom-light: #b3a161;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7c1c",
  "rgb": {
    "r": 142,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 50.526,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58609,
    "c": 0.11153,
    "h": 97.9
  },
  "luminance": 0.2025
}

Semantic roles & 50–950 ramp

primary
#8E7C1C
secondary
#495BBD
accent
#59EA3E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8E7C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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