#8F8A25#8F8A25

#8F8A25 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.118 H 106.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8F8A25
RGBrgb(143, 138, 37)
HSLhsl(57, 59%, 35%)
HSVhsv(57, 74%, 56%)
CMYKcmyk(0%, 3.5%, 74.1%, 43.9%)
CIE-LABlab(56.24, -10.30, 51.44)
CIE-LCHlch(56.24, 52.46, 101.32°)
OKLaboklab(61.92% -0.0337 0.1136)
OKLCHoklch(61.92% 0.119 106.5)
XYZxyz(20.7509, 24.1509, 5.3184)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A25 #252A8F
analogous
#8F5525 #8F8A25 #5F8F25
triadic
#8F8A25 #258F8A #8A258F
tetradic
#8F8A25 #258F55 #252A8F #8F255F
square
#8F8A25 #258F55 #252A8F #8F255F
split-complementary
#8F8A25 #255F8F #55258F
monochromatic
#2E2C0C #5E5B18 #8F8A25 #C0B932 #D4CF5A

Accessibility & contrast

On white

3.60
#8F8A25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8F8A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A25
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A25#FFFFFF#000000##000000
##8F8A251.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968512
Deuteranopia (green-blind)
#98892C
Tritanopia (blue-blind)
#9A8176
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a25;
/* rgb */ color: rgb(143, 138, 37);
/* oklch */ color: oklch(61.9% 0.118 106.5);
Tailwind
colors: {
  custom: {
    50: '#b3ab67',
    500: '#8f8a25',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a25;
$custom-light: #b3ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a25",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 57.17,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61921,
    "c": 0.1185,
    "h": 106.5
  },
  "luminance": 0.2415
}

Semantic roles & 50–950 ramp

primary
#8F8A25
secondary
#575BB9
accent
#4DE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8A25

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

Preview Lab → · Contrast checker → · Palette generator →

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