#8F9237#8F9237

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

Color values

HEX#8F9237
RGBrgb(143, 146, 55)
HSLhsl(62, 45%, 39%)
HSVhsv(62, 62%, 57%)
CMYKcmyk(2.1%, 0%, 62.3%, 42.7%)
CIE-LABlab(58.67, -13.49, 46.44)
CIE-LCHlch(58.67, 48.36, 106.20°)
OKLaboklab(63.91% -0.0407 0.1061)
OKLCHoklch(63.91% 0.114 111)
XYZxyz(22.2968, 26.6738, 7.5877)
Luminance0.2667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9237 #3A3792
analogous
#926837 #8F9237 #629237
triadic
#8F9237 #378F92 #92378F
tetradic
#8F9237 #379268 #3A3792 #923762
square
#8F9237 #379268 #3A3792 #923762
split-complementary
#8F9237 #376292 #683792
monochromatic
#383916 #636626 #8F9237 #B7BB4B #C9CC77

Accessibility & contrast

On white

3.32
#8F9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#8F9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9237
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9237#FFFFFF#000000##000000
##8F92371.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f9237;
/* rgb */ color: rgb(143, 146, 55);
/* oklch */ color: oklch(63.9% 0.114 111.0);
Tailwind
colors: {
  custom: {
    50: '#b2b172',
    500: '#8f9237',
    950: '#000000',
  },
}
SCSS
$custom: #8f9237;
$custom-light: #b2b172;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9237",
  "rgb": {
    "r": 143,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 61.978,
    "s": 45.274,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63906,
    "c": 0.11366,
    "h": 111
  },
  "luminance": 0.26673
}

Semantic roles & 50–950 ramp

primary
#8F9237
secondary
#7270B5
accent
#53D557
background
#FBFAF7
surface
#F6F5ED
border
#D0CFC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8F9237

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

Preview Lab → · Contrast checker → · Palette generator →

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