#8F8622#8F8622

#8F8622 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.0% C 0.117 H 104.1°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8F8622
RGBrgb(143, 134, 34)
HSLhsl(55, 62%, 35%)
HSVhsv(55, 76%, 56%)
CMYKcmyk(0%, 6.3%, 76.2%, 43.9%)
CIE-LABlab(55.08, -8.27, 51.45)
CIE-LCHlch(55.08, 52.11, 99.14°)
OKLaboklab(60.99% -0.0283 0.113)
OKLCHoklch(60.99% 0.117 104.1)
XYZxyz(20.1424, 23.0062, 4.8927)
Luminance0.2301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8622 #222B8F
analogous
#8F5022 #8F8622 #628F22
triadic
#8F8622 #228F86 #86228F
tetradic
#8F8622 #228F50 #222B8F #8F2262
square
#8F8622 #228F50 #222B8F #8F2262
split-complementary
#8F8622 #22628F #50228F
monochromatic
#2C290A #5E5816 #8F8622 #C0B42E #D7CC55

Accessibility & contrast

On white

3.75
#8F8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8F8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8622
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8622#FFFFFF#000000##000000
##8F86221.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#9A7C73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f8622;
/* rgb */ color: rgb(143, 134, 34);
/* oklch */ color: oklch(61.0% 0.117 104.1);
Tailwind
colors: {
  custom: {
    50: '#b3a865',
    500: '#8f8622',
    950: '#000000',
  },
}
SCSS
$custom: #8f8622;
$custom-light: #b3a865;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8622",
  "rgb": {
    "r": 143,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 55.046,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60992,
    "c": 0.11653,
    "h": 104.1
  },
  "luminance": 0.23005
}

Semantic roles & 50–950 ramp

primary
#8F8622
secondary
#525BBA
accent
#50E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8622

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

Preview Lab → · Contrast checker → · Palette generator →

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