#8E882B#8E882B

#8E882B is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.113 H 105.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8E882B
RGBrgb(142, 136, 43)
HSLhsl(56, 54%, 36%)
HSVhsv(56, 70%, 56%)
CMYKcmyk(0%, 4.2%, 69.7%, 44.3%)
CIE-LABlab(55.62, -9.35, 48.43)
CIE-LCHlch(55.62, 49.33, 100.93°)
OKLaboklab(61.42% -0.0303 0.1084)
OKLCHoklch(61.42% 0.113 105.6)
XYZxyz(20.3963, 23.5343, 5.7532)
Luminance0.2353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E882B #2B318E
analogous
#8E572B #8E882B #638E2B
triadic
#8E882B #2B8E88 #882B8E
tetradic
#8E882B #2B8E57 #2B318E #8E2B63
square
#8E882B #2B8E57 #2B318E #8E2B63
split-complementary
#8E882B #2B638E #572B8E
monochromatic
#302E0F #5F5B1D #8E882B #BDB539 #D0C963

Accessibility & contrast

On white

3.68
#8E882B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8E882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E882B
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E882B#FFFFFF#000000##000000
##8E882B1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831D
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#997F75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8e882b;
/* rgb */ color: rgb(142, 136, 43);
/* oklch */ color: oklch(61.4% 0.113 105.6);
Tailwind
colors: {
  custom: {
    50: '#b2aa6a',
    500: '#8e882b',
    950: '#000000',
  },
}
SCSS
$custom: #8e882b;
$custom-light: #b2aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e882b",
  "rgb": {
    "r": 142,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 56.364,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61419,
    "c": 0.11257,
    "h": 105.6
  },
  "luminance": 0.23534
}

Semantic roles & 50–950 ramp

primary
#8E882B
secondary
#5F64B6
accent
#54DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E882B

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

Preview Lab → · Contrast checker → · Palette generator →

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