#8F9F2A#8F9F2A

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

Color values

HEX#8F9F2A
RGBrgb(143, 159, 42)
HSLhsl(68, 58%, 39%)
HSVhsv(68, 74%, 62%)
CMYKcmyk(10.1%, 0%, 73.6%, 37.6%)
CIE-LABlab(62.34, -21.02, 55.47)
CIE-LCHlch(62.34, 59.32, 110.75°)
OKLaboklab(66.82% -0.0631 0.123)
OKLCHoklch(66.82% 0.138 117.1)
XYZxyz(24.1443, 30.8034, 6.8638)
Luminance0.3080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9F2A #3A2A9F
analogous
#9F752A #8F9F2A #559F2A
triadic
#8F9F2A #2A8F9F #9F2A8F
tetradic
#8F9F2A #2A9F75 #3A2A9F #9F2A55
square
#8F9F2A #2A9F75 #3A2A9F #9F2A55
split-complementary
#8F9F2A #2A559F #752A9F
monochromatic
#383E10 #636F1D #8F9F2A #B7CB3B #C9D86B

Accessibility & contrast

On white

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

On black

7.16
#8F9F2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9F2A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9F2A#FFFFFF#000000##000000
##8F9F2A1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9613
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#989688
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8f9f2a;
/* rgb */ color: rgb(143, 159, 42);
/* oklch */ color: oklch(66.8% 0.138 117.1);
Tailwind
colors: {
  custom: {
    50: '#b3bb6c',
    500: '#8f9f2a',
    950: '#000000',
  },
}
SCSS
$custom: #8f9f2a;
$custom-light: #b3bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9f2a",
  "rgb": {
    "r": 143,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 68.205,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66816,
    "c": 0.13827,
    "h": 117.1
  },
  "luminance": 0.30803
}

Semantic roles & 50–950 ramp

primary
#8F9F2A
secondary
#7266BF
accent
#46E15C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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