#8F7F22#8F7F22

#8F7F22 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.4% C 0.110 H 99.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8F7F22
RGBrgb(143, 127, 34)
HSLhsl(51, 62%, 35%)
HSVhsv(51, 76%, 56%)
CMYKcmyk(0%, 11.2%, 76.2%, 43.9%)
CIE-LABlab(53.10, -4.42, 49.57)
CIE-LCHlch(53.10, 49.77, 95.10°)
OKLaboklab(59.42% -0.0174 0.1091)
OKLCHoklch(59.42% 0.11 99.1)
XYZxyz(19.2067, 21.1348, 4.5808)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7F22 #22328F
analogous
#8F4922 #8F7F22 #688F22
triadic
#8F7F22 #228F7F #7F228F
tetradic
#8F7F22 #228F49 #22328F #8F2268
square
#8F7F22 #228F49 #22328F #8F2268
split-complementary
#8F7F22 #22688F #49228F
monochromatic
#2C270A #5E5316 #8F7F22 #C0AB2E #D7C455

Accessibility & contrast

On white

4.02
#8F7F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8F7F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7F22
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7F22#FFFFFF#000000##000000
##8F7F221.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C11
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#9B756D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f7f22;
/* rgb */ color: rgb(143, 127, 34);
/* oklch */ color: oklch(59.4% 0.110 99.1);
Tailwind
colors: {
  custom: {
    50: '#b3a364',
    500: '#8f7f22',
    950: '#000000',
  },
}
SCSS
$custom: #8f7f22;
$custom-light: #b3a364;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7f22",
  "rgb": {
    "r": 143,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 51.193,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59417,
    "c": 0.11044,
    "h": 99.1
  },
  "luminance": 0.21134
}

Semantic roles & 50–950 ramp

primary
#8F7F22
secondary
#5262BA
accent
#5BE543
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F7F22

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

Preview Lab → · Contrast checker → · Palette generator →

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