#8F9E2D#8F9E2D

#8F9E2D is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.6% C 0.135 H 116.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8F9E2D
RGBrgb(143, 158, 45)
HSLhsl(68, 56%, 40%)
HSVhsv(68, 72%, 62%)
CMYKcmyk(9.5%, 0%, 71.5%, 38%)
CIE-LABlab(62.07, -20.35, 54.10)
CIE-LCHlch(62.07, 57.80, 110.61°)
OKLaboklab(66.6% -0.061 0.1207)
OKLCHoklch(66.6% 0.135 116.8)
XYZxyz(24.0288, 30.4831, 7.1001)
Luminance0.3048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9E2D #3C2D9E
analogous
#9E752D #8F9E2D #569E2D
triadic
#8F9E2D #2D8F9E #9E2D8F
tetradic
#8F9E2D #2D9E75 #3C2D9E #9E2D56
square
#8F9E2D #2D9E75 #3C2D9E #9E2D56
split-complementary
#8F9E2D #2D569E #752D9E
monochromatic
#393F12 #646E1F #8F9E2D #B6C940 #C8D66F

Accessibility & contrast

On white

2.96
#8F9E2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#8F9E2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9E2D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9E2D#FFFFFF#000000##000000
##8F9E2D1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961A
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#989588
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8f9e2d;
/* rgb */ color: rgb(143, 158, 45);
/* oklch */ color: oklch(66.6% 0.135 116.8);
Tailwind
colors: {
  custom: {
    50: '#b3ba6e',
    500: '#8f9e2d',
    950: '#000000',
  },
}
SCSS
$custom: #8f9e2d;
$custom-light: #b3ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9e2d",
  "rgb": {
    "r": 143,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 67.965,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66603,
    "c": 0.13518,
    "h": 116.8
  },
  "luminance": 0.30483
}

Semantic roles & 50–950 ramp

primary
#8F9E2D
secondary
#7569BD
accent
#49DF5D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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