#8F9D22#8F9D22

#8F9D22 is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.3% C 0.141 H 116.2°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8F9D22
RGBrgb(143, 157, 34)
HSLhsl(67, 64%, 37%)
HSVhsv(67, 78%, 62%)
CMYKcmyk(8.9%, 0%, 78.3%, 38.4%)
CIE-LABlab(61.71, -20.38, 57.59)
CIE-LCHlch(61.71, 61.09, 109.49°)
OKLaboklab(66.3% -0.062 0.1261)
OKLCHoklch(66.3% 0.141 116.2)
XYZxyz(23.6740, 30.0694, 6.0699)
Luminance0.3007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9D22 #30229D
analogous
#9D6D22 #8F9D22 #529D22
triadic
#8F9D22 #228F9D #9D228F
tetradic
#8F9D22 #229D6D #30229D #9D2252
square
#8F9D22 #229D6D #30229D #9D2252
split-complementary
#8F9D22 #22529D #6D229D
monochromatic
#33380C #616B17 #8F9D22 #BDCF2D #CEDC5D

Accessibility & contrast

On white

2.99
#8F9D22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#8F9D22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9D22
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9D22#FFFFFF#000000##000000
##8F9D221.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A7962D
Tritanopia (blue-blind)
#989486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f9d22;
/* rgb */ color: rgb(143, 157, 34);
/* oklch */ color: oklch(66.3% 0.141 116.2);
Tailwind
colors: {
  custom: {
    50: '#b3b968',
    500: '#8f9d22',
    950: '#000000',
  },
}
SCSS
$custom: #8f9d22;
$custom-light: #b3b968;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9d22",
  "rgb": {
    "r": 143,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 66.829,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66298,
    "c": 0.14052,
    "h": 116.2
  },
  "luminance": 0.30069
}

Semantic roles & 50–950 ramp

primary
#8F9D22
secondary
#665AC1
accent
#40E753
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9D22

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

Preview Lab → · Contrast checker → · Palette generator →

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