#8F7E22#8F7E22

#8F7E22 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.110 H 98.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8F7E22
RGBrgb(143, 126, 34)
HSLhsl(51, 62%, 35%)
HSVhsv(51, 76%, 56%)
CMYKcmyk(0%, 11.9%, 76.2%, 43.9%)
CIE-LABlab(52.82, -3.86, 49.31)
CIE-LCHlch(52.82, 49.46, 94.48°)
OKLaboklab(59.19% -0.0158 0.1085)
OKLCHoklch(59.19% 0.11 98.3)
XYZxyz(19.0782, 20.8778, 4.5380)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E22 #22338F
analogous
#8F4722 #8F7E22 #6A8F22
triadic
#8F7E22 #228F7E #7E228F
tetradic
#8F7E22 #228F47 #22338F #8F226A
square
#8F7E22 #228F47 #22338F #8F226A
split-complementary
#8F7E22 #226A8F #47228F
monochromatic
#2C270A #5E5216 #8F7E22 #C0AA2E #D7C255

Accessibility & contrast

On white

4.06
#8F7E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8F7E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7E22
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7E22#FFFFFF#000000##000000
##8F7E221.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B11
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#9B746C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7e22;
/* rgb */ color: rgb(143, 126, 34);
/* oklch */ color: oklch(59.2% 0.110 98.3);
Tailwind
colors: {
  custom: {
    50: '#b3a364',
    500: '#8f7e22',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e22;
$custom-light: #b3a364;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e22",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 50.642,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59194,
    "c": 0.10965,
    "h": 98.3
  },
  "luminance": 0.20877
}

Semantic roles & 50–950 ramp

primary
#8F7E22
secondary
#5263BA
accent
#5CE543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8F7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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