#8F7D22#8F7D22

#8F7D22 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.0% C 0.109 H 97.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8F7D22
RGBrgb(143, 125, 34)
HSLhsl(50, 62%, 35%)
HSVhsv(50, 76%, 56%)
CMYKcmyk(0%, 12.6%, 76.2%, 43.9%)
CIE-LABlab(52.53, -3.31, 49.04)
CIE-LCHlch(52.53, 49.15, 93.86°)
OKLaboklab(58.97% -0.0143 0.1079)
OKLCHoklch(58.97% 0.109 97.5)
XYZxyz(18.9510, 20.6233, 4.4956)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7D22 #22348F
analogous
#8F4722 #8F7D22 #6A8F22
triadic
#8F7D22 #228F7D #7D228F
tetradic
#8F7D22 #228F47 #22348F #8F226A
square
#8F7D22 #228F47 #22348F #8F226A
split-complementary
#8F7D22 #226A8F #47228F
monochromatic
#2C270A #5E5216 #8F7D22 #C0A82E #D7C155

Accessibility & contrast

On white

4.10
#8F7D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8F7D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7D22
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7D22#FFFFFF#000000##000000
##8F7D221.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#9B736B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f7d22;
/* rgb */ color: rgb(143, 125, 34);
/* oklch */ color: oklch(59.0% 0.109 97.5);
Tailwind
colors: {
  custom: {
    50: '#b3a264',
    500: '#8f7d22',
    950: '#000000',
  },
}
SCSS
$custom: #8f7d22;
$custom-light: #b3a264;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7d22",
  "rgb": {
    "r": 143,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 50.092,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58972,
    "c": 0.10887,
    "h": 97.5
  },
  "luminance": 0.20622
}

Semantic roles & 50–950 ramp

primary
#8F7D22
secondary
#5264BA
accent
#5EE543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8F7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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