#8F8926#8F8926

#8F8926 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.117 H 105.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8F8926
RGBrgb(143, 137, 38)
HSLhsl(57, 58%, 35%)
HSVhsv(57, 73%, 56%)
CMYKcmyk(0%, 4.2%, 73.4%, 43.9%)
CIE-LABlab(55.96, -9.71, 50.79)
CIE-LCHlch(55.96, 51.71, 100.82°)
OKLaboklab(61.7% -0.0319 0.1124)
OKLCHoklch(61.7% 0.117 105.9)
XYZxyz(20.6240, 23.8717, 5.3547)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8926 #262C8F
analogous
#8F5426 #8F8926 #618F26
triadic
#8F8926 #268F89 #89268F
tetradic
#8F8926 #268F54 #262C8F #8F2661
square
#8F8926 #268F54 #262C8F #8F2661
split-complementary
#8F8926 #26618F #54268F
monochromatic
#2E2C0C #5F5B19 #8F8926 #BFB733 #D4CD5C

Accessibility & contrast

On white

3.64
#8F8926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8F8926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8926
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8926#FFFFFF#000000##000000
##8F89261.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958415
Deuteranopia (green-blind)
#98882D
Tritanopia (blue-blind)
#9A8076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f8926;
/* rgb */ color: rgb(143, 137, 38);
/* oklch */ color: oklch(61.7% 0.117 105.9);
Tailwind
colors: {
  custom: {
    50: '#b3ab68',
    500: '#8f8926',
    950: '#000000',
  },
}
SCSS
$custom: #8f8926;
$custom-light: #b3ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8926",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 38
  },
  "hsl": {
    "h": 56.571,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.617,
    "c": 0.11688,
    "h": 105.9
  },
  "luminance": 0.23871
}

Semantic roles & 50–950 ramp

primary
#8F8926
secondary
#585EB9
accent
#4FE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8926

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

Preview Lab → · Contrast checker → · Palette generator →

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