#8F8A24#8F8A24

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

Color values

HEX#8F8A24
RGBrgb(143, 138, 36)
HSLhsl(57, 60%, 35%)
HSVhsv(57, 75%, 56%)
CMYKcmyk(0%, 3.5%, 74.8%, 43.9%)
CIE-LABlab(56.23, -10.35, 51.80)
CIE-LCHlch(56.23, 52.83, 101.30°)
OKLaboklab(61.91% -0.0339 0.1142)
OKLCHoklch(61.91% 0.119 106.6)
XYZxyz(20.7354, 24.1447, 5.2369)
Luminance0.2414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A24 #24298F
analogous
#8F5424 #8F8A24 #5F8F24
triadic
#8F8A24 #248F8A #8A248F
tetradic
#8F8A24 #248F54 #24298F #8F245F
square
#8F8A24 #248F54 #24298F #8F245F
split-complementary
#8F8A24 #245F8F #54248F
monochromatic
#2D2C0B #5E5B18 #8F8A24 #C0B930 #D5CF58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F8A24#FFFFFF#000000##000000
##8F8A241.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)
#968510
Deuteranopia (green-blind)
#98892C
Tritanopia (blue-blind)
#9A8076
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a24;
/* rgb */ color: rgb(143, 138, 36);
/* oklch */ color: oklch(61.9% 0.119 106.6);
Tailwind
colors: {
  custom: {
    50: '#b3ab67',
    500: '#8f8a24',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a24;
$custom-light: #b3ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a24",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 57.196,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61914,
    "c": 0.11913,
    "h": 106.6
  },
  "luminance": 0.24144
}

Semantic roles & 50–950 ramp

primary
#8F8A24
secondary
#555AB9
accent
#4CE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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