#8F9740#8F9740

#8F9740 is a light, moderate yellow. Relative luminance 0.283; OKLCH L 65.2% C 0.112 H 113.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8F9740
RGBrgb(143, 151, 64)
HSLhsl(66, 40%, 42%)
HSVhsv(66, 58%, 59%)
CMYKcmyk(5.3%, 0%, 57.6%, 40.8%)
CIE-LABlab(60.20, -15.42, 43.96)
CIE-LCHlch(60.20, 46.59, 109.33°)
OKLaboklab(65.15% -0.0452 0.102)
OKLCHoklch(65.15% 0.112 113.9)
XYZxyz(23.3202, 28.3434, 9.0918)
Luminance0.2834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9740 #484097
analogous
#977440 #8F9740 #649740
triadic
#8F9740 #408F97 #97408F
tetradic
#8F9740 #409774 #484097 #974064
square
#8F9740 #409774 #484097 #974064
split-complementary
#8F9740 #406497 #744097
monochromatic
#3E411C #666C2E #8F9740 #B1B95B #C5CC86

Accessibility & contrast

On white

3.15
#8F9740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#8F9740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9740
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9740#FFFFFF#000000##000000
##8F97401.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19037
Deuteranopia (green-blind)
#A19245
Tritanopia (blue-blind)
#988F84
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8f9740;
/* rgb */ color: rgb(143, 151, 64);
/* oklch */ color: oklch(65.2% 0.112 113.9);
Tailwind
colors: {
  custom: {
    50: '#b2b578',
    500: '#8f9740',
    950: '#000000',
  },
}
SCSS
$custom: #8f9740;
$custom-light: #b2b578;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9740",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 64
  },
  "hsl": {
    "h": 65.517,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65154,
    "c": 0.11158,
    "h": 113.9
  },
  "luminance": 0.28343
}

Semantic roles & 50–950 ramp

primary
#8F9740
secondary
#827DB6
accent
#57D063
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #8F9740

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

Preview Lab → · Contrast checker → · Palette generator →

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