#8E8223#8E8223

#8E8223 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.0% C 0.112 H 101.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8E8223
RGBrgb(142, 130, 35)
HSLhsl(53, 60%, 35%)
HSVhsv(53, 75%, 56%)
CMYKcmyk(0%, 8.5%, 75.4%, 44.3%)
CIE-LABlab(53.85, -6.50, 49.88)
CIE-LCHlch(53.85, 50.30, 97.42°)
OKLaboklab(60% -0.0231 0.11)
OKLCHoklch(60% 0.112 101.9)
XYZxyz(19.4422, 21.8383, 4.7809)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8223 #232F8E
analogous
#8E4D23 #8E8223 #658E23
triadic
#8E8223 #238E82 #82238E
tetradic
#8E8223 #238E4D #232F8E #8E2365
square
#8E8223 #238E4D #232F8E #8E2365
split-complementary
#8E8223 #23658E #4D238E
monochromatic
#2C280B #5D5517 #8E8223 #BFAF2F #D5C756

Accessibility & contrast

On white

3.91
#8E8223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8E8223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8223
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8223#FFFFFF#000000##000000
##8E82231.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E12
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#997870
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8e8223;
/* rgb */ color: rgb(142, 130, 35);
/* oklch */ color: oklch(60.0% 0.112 101.9);
Tailwind
colors: {
  custom: {
    50: '#b2a665',
    500: '#8e8223',
    950: '#000000',
  },
}
SCSS
$custom: #8e8223;
$custom-light: #b2a665;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8223",
  "rgb": {
    "r": 142,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 53.271,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59998,
    "c": 0.11237,
    "h": 101.9
  },
  "luminance": 0.21837
}

Semantic roles & 50–950 ramp

primary
#8E8223
secondary
#535FB9
accent
#56E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8223

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

Preview Lab → · Contrast checker → · Palette generator →

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