#8F9422#8F9422

#8F9422 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.2% C 0.131 H 112.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8F9422
RGBrgb(143, 148, 34)
HSLhsl(63, 63%, 36%)
HSVhsv(63, 77%, 58%)
CMYKcmyk(3.4%, 0%, 77%, 42%)
CIE-LABlab(59.10, -15.75, 55.19)
CIE-LCHlch(59.10, 57.39, 105.93°)
OKLaboklab(64.2% -0.0492 0.121)
OKLCHoklch(64.2% 0.131 112.1)
XYZxyz(22.2071, 27.1355, 5.5809)
Luminance0.2713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9422 #272294
analogous
#946022 #8F9422 #569422
triadic
#8F9422 #228F94 #94228F
tetradic
#8F9422 #229460 #272294 #942256
square
#8F9422 #229460 #272294 #942256
split-complementary
#8F9422 #225694 #602294
monochromatic
#2F300B #5F6217 #8F9422 #BFC62D #D3D958

Accessibility & contrast

On white

3.27
#8F9422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#8F9422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9422
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9422#FFFFFF#000000##000000
##8F94221.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D05
Deuteranopia (green-blind)
#A0902C
Tritanopia (blue-blind)
#998B7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f9422;
/* rgb */ color: rgb(143, 148, 34);
/* oklch */ color: oklch(64.2% 0.131 112.1);
Tailwind
colors: {
  custom: {
    50: '#b3b367',
    500: '#8f9422',
    950: '#000000',
  },
}
SCSS
$custom: #8f9422;
$custom-light: #b3b367;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9422",
  "rgb": {
    "r": 143,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 62.632,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.64201,
    "c": 0.13061,
    "h": 112.1
  },
  "luminance": 0.27135
}

Semantic roles & 50–950 ramp

primary
#8F9422
secondary
#5A55BD
accent
#42E649
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F9422

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

Preview Lab → · Contrast checker → · Palette generator →

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