#8F902F#8F902F

#8F902F is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.4% C 0.118 H 109.9°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8F902F
RGBrgb(143, 144, 47)
HSLhsl(61, 51%, 37%)
HSVhsv(61, 67%, 56%)
CMYKcmyk(0.7%, 0%, 67.4%, 43.5%)
CIE-LABlab(58.03, -12.96, 49.25)
CIE-LCHlch(58.03, 50.92, 104.75°)
OKLaboklab(63.37% -0.0401 0.1108)
OKLCHoklch(63.37% 0.118 109.9)
XYZxyz(21.8147, 25.9920, 6.5566)
Luminance0.2599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F902F #302F90
analogous
#90612F #8F902F #5E902F
triadic
#8F902F #2F8F90 #902F8F
tetradic
#8F902F #2F9061 #302F90 #902F5E
square
#8F902F #2F9061 #302F90 #902F5E
split-complementary
#8F902F #2F5E90 #612F90
monochromatic
#333411 #616220 #8F902F #BDBE3E #CECF6B

Accessibility & contrast

On white

3.39
#8F902F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#8F902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F902F
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F902F#FFFFFF#000000##000000
##8F902F1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A21
Deuteranopia (green-blind)
#9C8D36
Tritanopia (blue-blind)
#99877C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8f902f;
/* rgb */ color: rgb(143, 144, 47);
/* oklch */ color: oklch(63.4% 0.118 109.9);
Tailwind
colors: {
  custom: {
    50: '#b3b06d',
    500: '#8f902f',
    950: '#000000',
  },
}
SCSS
$custom: #8f902f;
$custom-light: #b3b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f902f",
  "rgb": {
    "r": 143,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 60.619,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63372,
    "c": 0.11782,
    "h": 109.9
  },
  "luminance": 0.25991
}

Semantic roles & 50–950 ramp

primary
#8F902F
secondary
#6665B6
accent
#4EDA4F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F902F

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

Preview Lab → · Contrast checker → · Palette generator →

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