#8F7A22#8F7A22

#8F7A22 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.3% C 0.107 H 95.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8F7A22
RGBrgb(143, 122, 34)
HSLhsl(48, 62%, 35%)
HSVhsv(48, 76%, 56%)
CMYKcmyk(0%, 14.7%, 76.2%, 43.9%)
CIE-LABlab(51.70, -1.63, 48.24)
CIE-LCHlch(51.70, 48.26, 91.93°)
OKLaboklab(58.31% -0.0095 0.1062)
OKLCHoklch(58.31% 0.107 95.1)
XYZxyz(18.5769, 19.8752, 4.3709)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7A22 #22378F
analogous
#8F4322 #8F7A22 #6E8F22
triadic
#8F7A22 #228F7A #7A228F
tetradic
#8F7A22 #228F43 #22378F #8F226E
square
#8F7A22 #228F43 #22378F #8F226E
split-complementary
#8F7A22 #226E8F #43228F
monochromatic
#2C260A #5E5016 #8F7A22 #C0A42E #D7BE55

Accessibility & contrast

On white

4.22
#8F7A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8F7A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7A22
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7A22#FFFFFF#000000##000000
##8F7A221.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877713
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#9B7069
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f7a22;
/* rgb */ color: rgb(143, 122, 34);
/* oklch */ color: oklch(58.3% 0.107 95.1);
Tailwind
colors: {
  custom: {
    50: '#b3a064',
    500: '#8f7a22',
    950: '#000000',
  },
}
SCSS
$custom: #8f7a22;
$custom-light: #b3a064;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7a22",
  "rgb": {
    "r": 143,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 48.44,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58308,
    "c": 0.10665,
    "h": 95.1
  },
  "luminance": 0.19874
}

Semantic roles & 50–950 ramp

primary
#8F7A22
secondary
#5266BA
accent
#62E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8F7A22

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

Preview Lab → · Contrast checker → · Palette generator →

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