#8F8925#8F8925

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

Color values

HEX#8F8925
RGBrgb(143, 137, 37)
HSLhsl(57, 59%, 35%)
HSVhsv(57, 74%, 56%)
CMYKcmyk(0%, 4.2%, 74.1%, 43.9%)
CIE-LABlab(55.95, -9.76, 51.17)
CIE-LCHlch(55.95, 52.09, 100.80°)
OKLaboklab(61.69% -0.0322 0.113)
OKLCHoklch(61.69% 0.118 105.9)
XYZxyz(20.6081, 23.8653, 5.2708)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8925 #252B8F
analogous
#8F5425 #8F8925 #608F25
triadic
#8F8925 #258F89 #89258F
tetradic
#8F8925 #258F54 #252B8F #8F2560
square
#8F8925 #258F54 #252B8F #8F2560
split-complementary
#8F8925 #25608F #54258F
monochromatic
#2E2C0C #5E5A18 #8F8925 #C0B832 #D4CD5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8925#FFFFFF#000000##000000
##8F89251.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)
#958413
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#9A8076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f8925;
/* rgb */ color: rgb(143, 137, 37);
/* oklch */ color: oklch(61.7% 0.118 105.9);
Tailwind
colors: {
  custom: {
    50: '#b3ab67',
    500: '#8f8925',
    950: '#000000',
  },
}
SCSS
$custom: #8f8925;
$custom-light: #b3ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8925",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 37
  },
  "hsl": {
    "h": 56.604,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61693,
    "c": 0.11752,
    "h": 105.9
  },
  "luminance": 0.23865
}

Semantic roles & 50–950 ramp

primary
#8F8925
secondary
#575CB9
accent
#4FE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8925

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

Preview Lab → · Contrast checker → · Palette generator →

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