#8E7922#8E7922

#8E7922 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 58.0% C 0.106 H 95.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8E7922
RGBrgb(142, 121, 34)
HSLhsl(48, 61%, 35%)
HSVhsv(48, 76%, 56%)
CMYKcmyk(0%, 14.8%, 76.1%, 44.3%)
CIE-LABlab(51.32, -1.53, 47.84)
CIE-LCHlch(51.32, 47.86, 91.83°)
OKLaboklab(57.98% -0.0091 0.1054)
OKLCHoklch(57.98% 0.106 95)
XYZxyz(18.2824, 19.5420, 4.3221)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7922 #22378E
analogous
#8E4322 #8E7922 #6D8E22
triadic
#8E7922 #228E79 #79228E
tetradic
#8E7922 #228E43 #22378E #8E226D
square
#8E7922 #228E43 #22378E #8E226D
split-complementary
#8E7922 #226D8E #43228E
monochromatic
#2B250A #5D4F16 #8E7922 #BFA32E #D6BD54

Accessibility & contrast

On white

4.28
#8E7922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8E7922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7922
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7922#FFFFFF#000000##000000
##8E79221.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867713
Deuteranopia (green-blind)
#8C7D27
Tritanopia (blue-blind)
#9A6F68
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e7922;
/* rgb */ color: rgb(142, 121, 34);
/* oklch */ color: oklch(58.0% 0.106 95.0);
Tailwind
colors: {
  custom: {
    50: '#b39f64',
    500: '#8e7922',
    950: '#000000',
  },
}
SCSS
$custom: #8e7922;
$custom-light: #b39f64;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7922",
  "rgb": {
    "r": 142,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 48.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57984,
    "c": 0.10582,
    "h": 95
  },
  "luminance": 0.19541
}

Semantic roles & 50–950 ramp

primary
#8E7922
secondary
#5266BA
accent
#63E443
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8E7922

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

Preview Lab → · Contrast checker → · Palette generator →

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