#8F9F2F#8F9F2F

#8F9F2F is a light, vivid yellow. Relative luminance 0.308; OKLCH L 66.9% C 0.135 H 117.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8F9F2F
RGBrgb(143, 159, 47)
HSLhsl(69, 54%, 40%)
HSVhsv(69, 70%, 62%)
CMYKcmyk(10.1%, 0%, 70.4%, 37.6%)
CIE-LABlab(62.37, -20.74, 53.64)
CIE-LCHlch(62.37, 57.51, 111.14°)
OKLaboklab(66.85% -0.0619 0.12)
OKLCHoklch(66.85% 0.135 117.3)
XYZxyz(24.2395, 30.8414, 7.3648)
Luminance0.3084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9F2F #3F2F9F
analogous
#9F772F #8F9F2F #579F2F
triadic
#8F9F2F #2F8F9F #9F2F8F
tetradic
#8F9F2F #2F9F77 #3F2F9F #9F2F57
square
#8F9F2F #2F9F77 #3F2F9F #9F2F57
split-complementary
#8F9F2F #2F579F #772F9F
monochromatic
#3A4113 #657021 #8F9F2F #B5C844 #C7D673

Accessibility & contrast

On white

2.93
#8F9F2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#8F9F2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9F2F
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9F2F#FFFFFF#000000##000000
##8F9F2F1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961D
Deuteranopia (green-blind)
#A89738
Tritanopia (blue-blind)
#989689
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8f9f2f;
/* rgb */ color: rgb(143, 159, 47);
/* oklch */ color: oklch(66.9% 0.135 117.3);
Tailwind
colors: {
  custom: {
    50: '#b3bb6f',
    500: '#8f9f2f',
    950: '#000000',
  },
}
SCSS
$custom: #8f9f2f;
$custom-light: #b3bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9f2f",
  "rgb": {
    "r": 143,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 68.571,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66852,
    "c": 0.13503,
    "h": 117.3
  },
  "luminance": 0.30841
}

Semantic roles & 50–950 ramp

primary
#8F9F2F
secondary
#786DBD
accent
#4ADE5F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8F9F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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