#8F8A1E#8F8A1E

#8F8A1E is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.123 H 106.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8F8A1E
RGBrgb(143, 138, 30)
HSLhsl(57, 65%, 34%)
HSVhsv(57, 79%, 56%)
CMYKcmyk(0%, 3.5%, 79%, 43.9%)
CIE-LABlab(56.20, -10.61, 53.86)
CIE-LCHlch(56.20, 54.89, 101.15°)
OKLaboklab(61.88% -0.0352 0.1174)
OKLCHoklch(61.88% 0.123 106.7)
XYZxyz(20.6514, 24.1111, 4.7941)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A1E #1E238F
analogous
#8F521E #8F8A1E #5C8F1E
triadic
#8F8A1E #1E8F8A #8A1E8F
tetradic
#8F8A1E #1E8F52 #1E238F #8F1E5C
square
#8F8A1E #1E8F52 #1E238F #8F1E5C
split-complementary
#8F8A1E #1E5C8F #521E8F
monochromatic
#2A2809 #5C5913 #8F8A1E #C2BB29 #DAD44E

Accessibility & contrast

On white

3.61
#8F8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8F8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A1E
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A1E#FFFFFF#000000##000000
##8F8A1E1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968401
Deuteranopia (green-blind)
#998927
Tritanopia (blue-blind)
#9A8076
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a1e;
/* rgb */ color: rgb(143, 138, 30);
/* oklch */ color: oklch(61.9% 0.123 106.7);
Tailwind
colors: {
  custom: {
    50: '#b3ab64',
    500: '#8f8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a1e;
$custom-light: #b3ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a1e",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 57.345,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61877,
    "c": 0.12257,
    "h": 106.7
  },
  "luminance": 0.2411
}

Semantic roles & 50–950 ramp

primary
#8F8A1E
secondary
#4C51BC
accent
#47E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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