#8F9A2D#8F9A2D

#8F9A2D is a light, vivid yellow. Relative luminance 0.291; OKLCH L 65.7% C 0.131 H 115.1°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8F9A2D
RGBrgb(143, 154, 45)
HSLhsl(66, 55%, 39%)
HSVhsv(66, 71%, 60%)
CMYKcmyk(7.1%, 0%, 70.8%, 39.6%)
CIE-LABlab(60.91, -18.31, 52.95)
CIE-LCHlch(60.91, 56.02, 109.07°)
OKLaboklab(65.67% -0.0553 0.1182)
OKLCHoklch(65.67% 0.131 115.1)
XYZxyz(23.3576, 29.1407, 6.8764)
Luminance0.2914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9A2D #382D9A
analogous
#9A6F2D #8F9A2D #599A2D
triadic
#8F9A2D #2D8F9A #9A2D8F
tetradic
#8F9A2D #2D9A6F #382D9A #9A2D59
square
#8F9A2D #2D9A6F #382D9A #9A2D59
split-complementary
#8F9A2D #2D599A #6F2D9A
monochromatic
#373B11 #636B1F #8F9A2D #B9C73E #CAD46D

Accessibility & contrast

On white

3.08
#8F9A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#8F9A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9A2D
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9A2D#FFFFFF#000000##000000
##8F9A2D1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921B
Deuteranopia (green-blind)
#A49435
Tritanopia (blue-blind)
#989185
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8f9a2d;
/* rgb */ color: rgb(143, 154, 45);
/* oklch */ color: oklch(65.7% 0.131 115.1);
Tailwind
colors: {
  custom: {
    50: '#b3b76d',
    500: '#8f9a2d',
    950: '#000000',
  },
}
SCSS
$custom: #8f9a2d;
$custom-light: #b3b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9a2d",
  "rgb": {
    "r": 143,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 66.055,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6567,
    "c": 0.13052,
    "h": 115.1
  },
  "luminance": 0.2914
}

Semantic roles & 50–950 ramp

primary
#8F9A2D
secondary
#7067BB
accent
#4ADE59
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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