#8F9D45#8F9D45

#8F9D45 is a light, moderate yellow. Relative luminance 0.304; OKLCH L 66.6% C 0.114 H 117.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8F9D45
RGBrgb(143, 157, 69)
HSLhsl(70, 39%, 44%)
HSVhsv(70, 56%, 62%)
CMYKcmyk(8.9%, 0%, 56.1%, 38.4%)
CIE-LABlab(61.98, -18.10, 43.61)
CIE-LCHlch(61.98, 47.22, 112.55°)
OKLaboklab(66.6% -0.0522 0.1018)
OKLCHoklch(66.6% 0.114 117.2)
XYZxyz(24.4592, 30.3835, 10.2052)
Luminance0.3038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9D45 #53459D
analogous
#9D7F45 #8F9D45 #639D45
triadic
#8F9D45 #458F9D #9D458F
tetradic
#8F9D45 #459D7F #53459D #9D4563
square
#8F9D45 #459D7F #53459D #9D4563
split-complementary
#8F9D45 #45639D #7F459D
monochromatic
#424820 #687232 #8F9D45 #ADBB64 #C4CE8F

Accessibility & contrast

On white

2.97
#8F9D45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#8F9D45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9D45
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9D45#FFFFFF#000000##000000
##8F9D451.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7953C
Deuteranopia (green-blind)
#A5964A
Tritanopia (blue-blind)
#97958A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8f9d45;
/* rgb */ color: rgb(143, 157, 69);
/* oklch */ color: oklch(66.6% 0.114 117.2);
Tailwind
colors: {
  custom: {
    50: '#b2b97c',
    500: '#8f9d45',
    950: '#000000',
  },
}
SCSS
$custom: #8f9d45;
$custom-light: #b2b97c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9d45",
  "rgb": {
    "r": 143,
    "g": 157,
    "b": 69
  },
  "hsl": {
    "h": 69.545,
    "s": 38.938,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66601,
    "c": 0.11445,
    "h": 117.2
  },
  "luminance": 0.30383
}

Semantic roles & 50–950 ramp

primary
#8F9D45
secondary
#8D85B9
accent
#59CF6C
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#11110A
muted
#80807C

Preview Lab

Preview with #8F9D45

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

Preview Lab → · Contrast checker → · Palette generator →

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