#8E8232#8E8232

#8E8232 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.1% C 0.101 H 100.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8E8232
RGBrgb(142, 130, 50)
HSLhsl(52, 48%, 38%)
HSVhsv(52, 65%, 56%)
CMYKcmyk(0%, 8.5%, 64.8%, 44.3%)
CIE-LABlab(53.97, -5.63, 43.63)
CIE-LCHlch(53.97, 44.00, 97.35°)
OKLaboklab(60.13% -0.0189 0.0994)
OKLCHoklch(60.13% 0.101 100.8)
XYZxyz(19.7145, 21.9472, 6.2148)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8232 #323E8E
analogous
#8E5432 #8E8232 #6C8E32
triadic
#8E8232 #328E82 #82328E
tetradic
#8E8232 #328E54 #323E8E #8E326C
square
#8E8232 #328E54 #323E8E #8E326C
split-complementary
#8E8232 #326C8E #54328E
monochromatic
#332F12 #615922 #8E8232 #BBAB42 #CCC06E

Accessibility & contrast

On white

3.90
#8E8232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#8E8232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8232
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8232#FFFFFF#000000##000000
##8E82321.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E29
Deuteranopia (green-blind)
#918336
Tritanopia (blue-blind)
#997971
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8e8232;
/* rgb */ color: rgb(142, 130, 50);
/* oklch */ color: oklch(60.1% 0.101 100.8);
Tailwind
colors: {
  custom: {
    50: '#b2a66e',
    500: '#8e8232',
    950: '#000000',
  },
}
SCSS
$custom: #8e8232;
$custom-light: #b2a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8232",
  "rgb": {
    "r": 142,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 52.174,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60128,
    "c": 0.10123,
    "h": 100.8
  },
  "luminance": 0.21946
}

Semantic roles & 50–950 ramp

primary
#8E8232
secondary
#6872B4
accent
#62D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8E8232

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

Preview Lab → · Contrast checker → · Palette generator →

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