#8F9F2D#8F9F2D

#8F9F2D 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#8F9F2D
RGBrgb(143, 159, 45)
HSLhsl(68, 56%, 40%)
HSVhsv(68, 72%, 62%)
CMYKcmyk(10.1%, 0%, 71.7%, 37.6%)
CIE-LABlab(62.36, -20.85, 54.39)
CIE-LCHlch(62.36, 58.25, 110.98°)
OKLaboklab(66.84% -0.0624 0.1213)
OKLCHoklch(66.84% 0.136 117.2)
XYZxyz(24.2000, 30.8257, 7.1572)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9F2D #3D2D9F
analogous
#9F762D #8F9F2D #569F2D
triadic
#8F9F2D #2D8F9F #9F2D8F
tetradic
#8F9F2D #2D9F76 #3D2D9F #9F2D56
square
#8F9F2D #2D9F76 #3D2D9F #9F2D56
split-complementary
#8F9F2D #2D569F #762D9F
monochromatic
#394012 #646F20 #8F9F2D #B6C940 #C8D670

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9F2D#FFFFFF#000000##000000
##8F9F2D1.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)
#AA9619
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#989689
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8f9f2d;
/* rgb */ color: rgb(143, 159, 45);
/* oklch */ color: oklch(66.8% 0.136 117.2);
Tailwind
colors: {
  custom: {
    50: '#b3bb6e',
    500: '#8f9f2d',
    950: '#000000',
  },
}
SCSS
$custom: #8f9f2d;
$custom-light: #b3bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9f2d",
  "rgb": {
    "r": 143,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 68.421,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.66837,
    "c": 0.13637,
    "h": 117.2
  },
  "luminance": 0.30825
}

Semantic roles & 50–950 ramp

primary
#8F9F2D
secondary
#766ABE
accent
#49DF5E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8F9F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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