#8F9C22#8F9C22

#8F9C22 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.1% C 0.139 H 115.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8F9C22
RGBrgb(143, 156, 34)
HSLhsl(66, 64%, 37%)
HSVhsv(66, 78%, 61%)
CMYKcmyk(8.3%, 0%, 78.2%, 38.8%)
CIE-LABlab(61.42, -19.87, 57.32)
CIE-LCHlch(61.42, 60.67, 109.12°)
OKLaboklab(66.06% -0.0606 0.1255)
OKLCHoklch(66.06% 0.139 115.8)
XYZxyz(23.5055, 29.7324, 6.0137)
Luminance0.2973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9C22 #2F229C
analogous
#9C6C22 #8F9C22 #529C22
triadic
#8F9C22 #228F9C #9C228F
tetradic
#8F9C22 #229C6C #2F229C #9C2252
square
#8F9C22 #229C6C #2F229C #9C2252
split-complementary
#8F9C22 #22529C #6C229C
monochromatic
#33380C #616A17 #8F9C22 #BDCE2D #CEDC5D

Accessibility & contrast

On white

3.02
#8F9C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#8F9C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9C22
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9C22#FFFFFF#000000##000000
##8F9C221.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79400
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#999385
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8f9c22;
/* rgb */ color: rgb(143, 156, 34);
/* oklch */ color: oklch(66.1% 0.139 115.8);
Tailwind
colors: {
  custom: {
    50: '#b3b968',
    500: '#8f9c22',
    950: '#000000',
  },
}
SCSS
$custom: #8f9c22;
$custom-light: #b3b968;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9c22",
  "rgb": {
    "r": 143,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 66.393,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66064,
    "c": 0.1394,
    "h": 115.8
  },
  "luminance": 0.29732
}

Semantic roles & 50–950 ramp

primary
#8F9C22
secondary
#655AC0
accent
#41E752
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9C22

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

Preview Lab → · Contrast checker → · Palette generator →

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