#8F9F2E#8F9F2E

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

Color values

HEX#8F9F2E
RGBrgb(143, 159, 46)
HSLhsl(68, 55%, 40%)
HSVhsv(68, 71%, 62%)
CMYKcmyk(10.1%, 0%, 71.1%, 37.6%)
CIE-LABlab(62.37, -20.80, 54.02)
CIE-LCHlch(62.37, 57.88, 111.06°)
OKLaboklab(66.85% -0.0621 0.1207)
OKLCHoklch(66.85% 0.136 117.2)
XYZxyz(24.2195, 30.8334, 7.2598)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9F2E #3E2E9F
analogous
#9F772E #8F9F2E #569F2E
triadic
#8F9F2E #2E8F9F #9F2E8F
tetradic
#8F9F2E #2E9F77 #3E2E9F #9F2E56
square
#8F9F2E #2E9F77 #3E2E9F #9F2E56
split-complementary
#8F9F2E #2E569F #772E9F
monochromatic
#3A4013 #647020 #8F9F2E #B5C842 #C8D671

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9F2E#FFFFFF#000000##000000
##8F9F2E1.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)
#AA961B
Deuteranopia (green-blind)
#A89737
Tritanopia (blue-blind)
#989689
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8f9f2e;
/* rgb */ color: rgb(143, 159, 46);
/* oklch */ color: oklch(66.8% 0.136 117.2);
Tailwind
colors: {
  custom: {
    50: '#b3bb6e',
    500: '#8f9f2e',
    950: '#000000',
  },
}
SCSS
$custom: #8f9f2e;
$custom-light: #b3bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9f2e",
  "rgb": {
    "r": 143,
    "g": 159,
    "b": 46
  },
  "hsl": {
    "h": 68.496,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66845,
    "c": 0.1357,
    "h": 117.2
  },
  "luminance": 0.30833
}

Semantic roles & 50–950 ramp

primary
#8F9F2E
secondary
#776BBE
accent
#49DE5E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8F9F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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