#8F9F22#8F9F22

#8F9F22 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 66.8% C 0.143 H 117.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8F9F22
RGBrgb(143, 159, 34)
HSLhsl(68, 65%, 38%)
HSVhsv(68, 79%, 62%)
CMYKcmyk(10.1%, 0%, 78.6%, 37.6%)
CIE-LABlab(62.30, -21.39, 58.12)
CIE-LCHlch(62.30, 61.93, 110.21°)
OKLaboklab(66.77% -0.0648 0.1272)
OKLCHoklch(66.77% 0.143 117)
XYZxyz(24.0152, 30.7517, 6.1836)
Luminance0.3075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9F22 #32229F
analogous
#9F7022 #8F9F22 #509F22
triadic
#8F9F22 #228F9F #9F228F
tetradic
#8F9F22 #229F70 #32229F #9F2250
square
#8F9F22 #229F70 #32229F #9F2250
split-complementary
#8F9F22 #22509F #70229F
monochromatic
#343A0C #626D17 #8F9F22 #BCD12D #CDDD5F

Accessibility & contrast

On white

2.94
#8F9F22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#8F9F22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9F22
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9F22#FFFFFF#000000##000000
##8F9F221.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A9972E
Tritanopia (blue-blind)
#989688
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8f9f22;
/* rgb */ color: rgb(143, 159, 34);
/* oklch */ color: oklch(66.8% 0.143 117.0);
Tailwind
colors: {
  custom: {
    50: '#b3bb68',
    500: '#8f9f22',
    950: '#000000',
  },
}
SCSS
$custom: #8f9f22;
$custom-light: #b3bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9f22",
  "rgb": {
    "r": 143,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 67.68,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66767,
    "c": 0.14278,
    "h": 117
  },
  "luminance": 0.30751
}

Semantic roles & 50–950 ramp

primary
#8F9F22
secondary
#685BC1
accent
#40E856
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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