#8E8622#8E8622

#8E8622 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.117 H 104.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8E8622
RGBrgb(142, 134, 34)
HSLhsl(56, 61%, 35%)
HSVhsv(56, 76%, 56%)
CMYKcmyk(0%, 5.6%, 76.1%, 44.3%)
CIE-LABlab(54.99, -8.73, 51.33)
CIE-LCHlch(54.99, 52.06, 99.66°)
OKLaboklab(60.9% -0.0295 0.1128)
OKLCHoklch(60.9% 0.117 104.7)
XYZxyz(19.9700, 22.9173, 4.8846)
Luminance0.2292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8622 #222A8E
analogous
#8E5022 #8E8622 #608E22
triadic
#8E8622 #228E86 #86228E
tetradic
#8E8622 #228E50 #222A8E #8E2260
square
#8E8622 #228E50 #222A8E #8E2260
split-complementary
#8E8622 #22608E #50228E
monochromatic
#2B290A #5D5716 #8E8622 #BFB52E #D6CD54

Accessibility & contrast

On white

3.76
#8E8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8E8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8622
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8622#FFFFFF#000000##000000
##8E86221.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#997C73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e8622;
/* rgb */ color: rgb(142, 134, 34);
/* oklch */ color: oklch(60.9% 0.117 104.7);
Tailwind
colors: {
  custom: {
    50: '#b2a865',
    500: '#8e8622',
    950: '#000000',
  },
}
SCSS
$custom: #8e8622;
$custom-light: #b2a865;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8622",
  "rgb": {
    "r": 142,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 55.556,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60897,
    "c": 0.11663,
    "h": 104.7
  },
  "luminance": 0.22916
}

Semantic roles & 50–950 ramp

primary
#8E8622
secondary
#525ABA
accent
#4FE443
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8622

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

Preview Lab → · Contrast checker → · Palette generator →

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