#8F7C22#8F7C22

#8F7C22 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.8% C 0.108 H 96.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8F7C22
RGBrgb(143, 124, 34)
HSLhsl(50, 62%, 35%)
HSVhsv(50, 76%, 56%)
CMYKcmyk(0%, 13.3%, 76.2%, 43.9%)
CIE-LABlab(52.25, -2.75, 48.77)
CIE-LCHlch(52.25, 48.85, 93.22°)
OKLaboklab(58.75% -0.0127 0.1074)
OKLCHoklch(58.75% 0.108 96.7)
XYZxyz(18.8250, 20.3714, 4.4536)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7C22 #22358F
analogous
#8F4522 #8F7C22 #6C8F22
triadic
#8F7C22 #228F7C #7C228F
tetradic
#8F7C22 #228F45 #22358F #8F226C
square
#8F7C22 #228F45 #22358F #8F226C
split-complementary
#8F7C22 #226C8F #45228F
monochromatic
#2C260A #5E5116 #8F7C22 #C0A72E #D7C055

Accessibility & contrast

On white

4.14
#8F7C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8F7C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7C22
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7C22#FFFFFF#000000##000000
##8F7C221.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#9B726A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f7c22;
/* rgb */ color: rgb(143, 124, 34);
/* oklch */ color: oklch(58.8% 0.108 96.7);
Tailwind
colors: {
  custom: {
    50: '#b3a164',
    500: '#8f7c22',
    950: '#000000',
  },
}
SCSS
$custom: #8f7c22;
$custom-light: #b3a164;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7c22",
  "rgb": {
    "r": 143,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 49.541,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5875,
    "c": 0.10811,
    "h": 96.7
  },
  "luminance": 0.2037
}

Semantic roles & 50–950 ramp

primary
#8F7C22
secondary
#5265BA
accent
#5FE543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F7C22

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

Preview Lab → · Contrast checker → · Palette generator →

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