#8F9239#8F9239

#8F9239 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 63.9% C 0.112 H 111.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8F9239
RGBrgb(143, 146, 57)
HSLhsl(62, 44%, 40%)
HSVhsv(62, 61%, 57%)
CMYKcmyk(2.1%, 0%, 61%, 42.7%)
CIE-LABlab(58.69, -13.34, 45.55)
CIE-LCHlch(58.69, 47.47, 106.33°)
OKLaboklab(63.93% -0.0401 0.1045)
OKLCHoklch(63.93% 0.112 111)
XYZxyz(22.3457, 26.6933, 7.8453)
Luminance0.2669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9239 #3C3992
analogous
#926839 #8F9239 #639239
triadic
#8F9239 #398F92 #92398F
tetradic
#8F9239 #399268 #3C3992 #923963
square
#8F9239 #399268 #3C3992 #923963
split-complementary
#8F9239 #396392 #683992
monochromatic
#393A17 #646628 #8F9239 #B6BA4E #C8CB7A

Accessibility & contrast

On white

3.31
#8F9239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#8F9239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9239
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9239#FFFFFF#000000##000000
##8F92391.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C2F
Deuteranopia (green-blind)
#9D8E3E
Tritanopia (blue-blind)
#98897F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8f9239;
/* rgb */ color: rgb(143, 146, 57);
/* oklch */ color: oklch(63.9% 0.112 111.0);
Tailwind
colors: {
  custom: {
    50: '#b2b173',
    500: '#8f9239',
    950: '#000000',
  },
}
SCSS
$custom: #8f9239;
$custom-light: #b2b173;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9239",
  "rgb": {
    "r": 143,
    "g": 146,
    "b": 57
  },
  "hsl": {
    "h": 62.022,
    "s": 43.842,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63926,
    "c": 0.11193,
    "h": 111
  },
  "luminance": 0.26693
}

Semantic roles & 50–950 ramp

primary
#8F9239
secondary
#7572B4
accent
#54D459
background
#FBFAF7
surface
#F6F5ED
border
#D0CFC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8F9239

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

Preview Lab → · Contrast checker → · Palette generator →

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