#8F9A45#8F9A45

#8F9A45 is a light, moderate yellow. Relative luminance 0.294; OKLCH L 65.9% C 0.111 H 115.6°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8F9A45
RGBrgb(143, 154, 69)
HSLhsl(68, 38%, 44%)
HSVhsv(68, 55%, 60%)
CMYKcmyk(7.1%, 0%, 55.2%, 39.6%)
CIE-LABlab(61.12, -16.55, 42.61)
CIE-LCHlch(61.12, 45.71, 111.23°)
OKLaboklab(65.91% -0.0478 0.0997)
OKLCHoklch(65.91% 0.111 115.6)
XYZxyz(23.9579, 29.3808, 10.0380)
Luminance0.2938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9A45 #50459A
analogous
#9A7A45 #8F9A45 #649A45
triadic
#8F9A45 #458F9A #9A458F
tetradic
#8F9A45 #459A7A #50459A #9A4564
square
#8F9A45 #459A7A #50459A #9A4564
split-complementary
#8F9A45 #45649A #7A459A
monochromatic
#41451F #687032 #8F9A45 #AEB963 #C4CC8D

Accessibility & contrast

On white

3.05
#8F9A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#8F9A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9A45
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9A45#FFFFFF#000000##000000
##8F9A451.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4933D
Deuteranopia (green-blind)
#A3944A
Tritanopia (blue-blind)
#979287
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8f9a45;
/* rgb */ color: rgb(143, 154, 69);
/* oklch */ color: oklch(65.9% 0.111 115.6);
Tailwind
colors: {
  custom: {
    50: '#b2b77b',
    500: '#8f9a45',
    950: '#000000',
  },
}
SCSS
$custom: #8f9a45;
$custom-light: #b2b77b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9a45",
  "rgb": {
    "r": 143,
    "g": 154,
    "b": 69
  },
  "hsl": {
    "h": 67.765,
    "s": 38.117,
    "l": 43.725
  },
  "oklch": {
    "l": 0.65906,
    "c": 0.11058,
    "h": 115.6
  },
  "luminance": 0.29381
}

Semantic roles & 50–950 ramp

primary
#8F9A45
secondary
#8A83B7
accent
#5ACE69
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111109
muted
#80807B

Preview Lab

Preview with #8F9A45

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

Preview Lab → · Contrast checker → · Palette generator →

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