#8F9E2C#8F9E2C

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

Color values

HEX#8F9E2C
RGBrgb(143, 158, 44)
HSLhsl(68, 56%, 40%)
HSVhsv(68, 72%, 62%)
CMYKcmyk(9.5%, 0%, 72.2%, 38%)
CIE-LABlab(62.06, -20.40, 54.47)
CIE-LCHlch(62.06, 58.17, 110.54°)
OKLaboklab(66.6% -0.0612 0.1213)
OKLCHoklch(66.6% 0.136 116.8)
XYZxyz(24.0097, 30.4755, 6.9999)
Luminance0.3048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9E2C #3B2C9E
analogous
#9E742C #8F9E2C #569E2C
triadic
#8F9E2C #2C8F9E #9E2C8F
tetradic
#8F9E2C #2C9E74 #3B2C9E #9E2C56
square
#8F9E2C #2C9E74 #3B2C9E #9E2C56
split-complementary
#8F9E2C #2C569E #742C9E
monochromatic
#383E11 #646E1F #8F9E2C #B7C93E #C9D76E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9E2C#FFFFFF#000000##000000
##8F9E2C1.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)
#A99618
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#989588
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8f9e2c;
/* rgb */ color: rgb(143, 158, 44);
/* oklch */ color: oklch(66.6% 0.136 116.8);
Tailwind
colors: {
  custom: {
    50: '#b3ba6d',
    500: '#8f9e2c',
    950: '#000000',
  },
}
SCSS
$custom: #8f9e2c;
$custom-light: #b3ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9e2c",
  "rgb": {
    "r": 143,
    "g": 158,
    "b": 44
  },
  "hsl": {
    "h": 67.895,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66596,
    "c": 0.13584,
    "h": 116.8
  },
  "luminance": 0.30475
}

Semantic roles & 50–950 ramp

primary
#8F9E2C
secondary
#7368BE
accent
#48E05C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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