#8F9331#8F9331

#8F9331 is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.1% C 0.120 H 111.6°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8F9331
RGBrgb(143, 147, 49)
HSLhsl(62, 50%, 38%)
HSVhsv(62, 67%, 58%)
CMYKcmyk(2.7%, 0%, 66.7%, 42.4%)
CIE-LABlab(58.91, -14.42, 49.31)
CIE-LCHlch(58.91, 51.38, 106.30°)
OKLaboklab(64.08% -0.044 0.1113)
OKLCHoklch(64.08% 0.12 111.6)
XYZxyz(22.3164, 26.9294, 6.9274)
Luminance0.2693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9331 #353193
analogous
#936631 #8F9331 #5E9331
triadic
#8F9331 #318F93 #93318F
tetradic
#8F9331 #319366 #353193 #93315E
square
#8F9331 #319366 #353193 #93315E
split-complementary
#8F9331 #315E93 #663193
monochromatic
#363712 #626522 #8F9331 #BBC041 #CBCF6F

Accessibility & contrast

On white

3.29
#8F9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#8F9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9331
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9331#FFFFFF#000000##000000
##8F93311.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C23
Deuteranopia (green-blind)
#9F8F38
Tritanopia (blue-blind)
#998A7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f9331;
/* rgb */ color: rgb(143, 147, 49);
/* oklch */ color: oklch(64.1% 0.120 111.6);
Tailwind
colors: {
  custom: {
    50: '#b2b26f',
    500: '#8f9331',
    950: '#000000',
  },
}
SCSS
$custom: #8f9331;
$custom-light: #b2b26f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9331",
  "rgb": {
    "r": 143,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 62.449,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6408,
    "c": 0.11964,
    "h": 111.6
  },
  "luminance": 0.26929
}

Semantic roles & 50–950 ramp

primary
#8F9331
secondary
#6C69B7
accent
#4EDA54
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8F9331

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

Preview Lab → · Contrast checker → · Palette generator →

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