#8E831C#8E831C

#8E831C is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.2% C 0.117 H 102.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8E831C
RGBrgb(142, 131, 28)
HSLhsl(54, 67%, 33%)
HSVhsv(54, 80%, 56%)
CMYKcmyk(0%, 7.7%, 80.3%, 44.3%)
CIE-LABlab(54.10, -7.35, 52.59)
CIE-LCHlch(54.10, 53.10, 97.95°)
OKLaboklab(60.18% -0.0262 0.1143)
OKLCHoklch(60.18% 0.117 102.9)
XYZxyz(19.4821, 22.0681, 4.3317)
Luminance0.2207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E831C #1C278E
analogous
#8E4A1C #8E831C #608E1C
triadic
#8E831C #1C8E83 #831C8E
tetradic
#8E831C #1C8E4A #1C278E #8E1C60
square
#8E831C #1C8E4A #1C278E #8E1C60
split-complementary
#8E831C #1C608E #4A1C8E
monochromatic
#282508 #5B5412 #8E831C #C1B226 #DBCD49

Accessibility & contrast

On white

3.88
#8E831C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8E831C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E831C
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E831C#FFFFFF#000000##000000
##8E831C1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F01
Deuteranopia (green-blind)
#938424
Tritanopia (blue-blind)
#997970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8e831c;
/* rgb */ color: rgb(142, 131, 28);
/* oklch */ color: oklch(60.2% 0.117 102.9);
Tailwind
colors: {
  custom: {
    50: '#b3a662',
    500: '#8e831c',
    950: '#000000',
  },
}
SCSS
$custom: #8e831c;
$custom-light: #b3a662;
$custom-dark: #000000;
JSON
{
  "hex": "#8e831c",
  "rgb": {
    "r": 142,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 54.211,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.6018,
    "c": 0.11728,
    "h": 102.9
  },
  "luminance": 0.22067
}

Semantic roles & 50–950 ramp

primary
#8E831C
secondary
#4954BD
accent
#4EEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E831C

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

Preview Lab → · Contrast checker → · Palette generator →

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