#8F8024#8F8024

#8F8024 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.7% C 0.110 H 99.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8F8024
RGBrgb(143, 128, 36)
HSLhsl(52, 60%, 35%)
HSVhsv(52, 75%, 56%)
CMYKcmyk(0%, 10.5%, 74.8%, 43.9%)
CIE-LABlab(53.39, -4.88, 49.08)
CIE-LCHlch(53.39, 49.33, 95.68°)
OKLaboklab(59.66% -0.0185 0.1084)
OKLCHoklch(59.66% 0.11 99.7)
XYZxyz(19.3662, 21.4063, 4.7805)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8024 #24338F
analogous
#8F4B24 #8F8024 #688F24
triadic
#8F8024 #248F80 #80248F
tetradic
#8F8024 #248F4B #24338F #8F2468
square
#8F8024 #248F4B #24338F #8F2468
split-complementary
#8F8024 #24688F #4B248F
monochromatic
#2D280B #5E5418 #8F8024 #C0AC30 #D5C458

Accessibility & contrast

On white

3.98
#8F8024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8F8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8024
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8024#FFFFFF#000000##000000
##8F80241.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C14
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#9A766E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f8024;
/* rgb */ color: rgb(143, 128, 36);
/* oklch */ color: oklch(59.7% 0.110 99.7);
Tailwind
colors: {
  custom: {
    50: '#b3a466',
    500: '#8f8024',
    950: '#000000',
  },
}
SCSS
$custom: #8f8024;
$custom-light: #b3a466;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8024",
  "rgb": {
    "r": 143,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 51.589,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59655,
    "c": 0.11,
    "h": 99.7
  },
  "luminance": 0.21405
}

Semantic roles & 50–950 ramp

primary
#8F8024
secondary
#5563B9
accent
#5BE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8024

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

Preview Lab → · Contrast checker → · Palette generator →

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