#8F822B#8F822B

#8F822B is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.2% C 0.107 H 100.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8F822B
RGBrgb(143, 130, 43)
HSLhsl(52, 54%, 36%)
HSVhsv(52, 70%, 56%)
CMYKcmyk(0%, 9.1%, 69.9%, 43.9%)
CIE-LABlab(54.01, -5.61, 46.82)
CIE-LCHlch(54.01, 47.16, 96.84°)
OKLaboklab(60.16% -0.0198 0.105)
OKLCHoklch(60.16% 0.107 100.7)
XYZxyz(19.7472, 21.9802, 5.4875)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F822B #2B388F
analogous
#8F502B #8F822B #6A8F2B
triadic
#8F822B #2B8F82 #822B8F
tetradic
#8F822B #2B8F50 #2B388F #8F2B6A
square
#8F822B #2B8F50 #2B388F #8F2B6A
split-complementary
#8F822B #2B6A8F #502B8F
monochromatic
#312C0F #60571D #8F822B #BEAD39 #D0C264

Accessibility & contrast

On white

3.89
#8F822B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8F822B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F822B
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F822B#FFFFFF#000000##000000
##8F822B1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1F
Deuteranopia (green-blind)
#928330
Tritanopia (blue-blind)
#9A7970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8f822b;
/* rgb */ color: rgb(143, 130, 43);
/* oklch */ color: oklch(60.2% 0.107 100.7);
Tailwind
colors: {
  custom: {
    50: '#b3a66a',
    500: '#8f822b',
    950: '#000000',
  },
}
SCSS
$custom: #8f822b;
$custom-light: #b3a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f822b",
  "rgb": {
    "r": 143,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 52.2,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60159,
    "c": 0.10683,
    "h": 100.7
  },
  "luminance": 0.21979
}

Semantic roles & 50–950 ramp

primary
#8F822B
secondary
#5F6BB7
accent
#5EDD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F822B

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

Preview Lab → · Contrast checker → · Palette generator →

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