#8F9E2E#8F9E2E

#8F9E2E 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#8F9E2E
RGBrgb(143, 158, 46)
HSLhsl(68, 55%, 40%)
HSVhsv(68, 71%, 62%)
CMYKcmyk(9.5%, 0%, 70.9%, 38%)
CIE-LABlab(62.08, -20.29, 53.73)
CIE-LCHlch(62.08, 57.43, 110.69°)
OKLaboklab(66.61% -0.0607 0.1201)
OKLCHoklch(66.61% 0.135 116.8)
XYZxyz(24.0483, 30.4909, 7.2027)
Luminance0.3049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9E2E #3D2E9E
analogous
#9E752E #8F9E2E #579E2E
triadic
#8F9E2E #2E8F9E #9E2E8F
tetradic
#8F9E2E #2E9E75 #3D2E9E #9E2E57
square
#8F9E2E #2E9E75 #3D2E9E #9E2E57
split-complementary
#8F9E2E #2E579E #752E9E
monochromatic
#393F12 #646F20 #8F9E2E #B6C841 #C8D671

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9E2E#FFFFFF#000000##000000
##8F9E2E1.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)
#A9961B
Deuteranopia (green-blind)
#A79737
Tritanopia (blue-blind)
#989588
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8f9e2e;
/* rgb */ color: rgb(143, 158, 46);
/* oklch */ color: oklch(66.6% 0.135 116.8);
Tailwind
colors: {
  custom: {
    50: '#b3ba6e',
    500: '#8f9e2e',
    950: '#000000',
  },
}
SCSS
$custom: #8f9e2e;
$custom-light: #b3ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9e2e",
  "rgb": {
    "r": 143,
    "g": 158,
    "b": 46
  },
  "hsl": {
    "h": 68.036,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.66611,
    "c": 0.13453,
    "h": 116.8
  },
  "luminance": 0.30491
}

Semantic roles & 50–950 ramp

primary
#8F9E2E
secondary
#766BBD
accent
#4ADE5D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #8F9E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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