#8F9222#8F9222

#8F9222 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 63.7% C 0.128 H 111.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8F9222
RGBrgb(143, 146, 34)
HSLhsl(62, 62%, 35%)
HSVhsv(62, 77%, 57%)
CMYKcmyk(2.1%, 0%, 76.7%, 42.7%)
CIE-LABlab(58.52, -14.70, 54.66)
CIE-LCHlch(58.52, 56.60, 105.06°)
OKLaboklab(63.74% -0.0463 0.1199)
OKLCHoklch(63.74% 0.128 111.1)
XYZxyz(21.8961, 26.5135, 5.4773)
Luminance0.2651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9222 #252292
analogous
#925D22 #8F9222 #579222
triadic
#8F9222 #228F92 #92228F
tetradic
#8F9222 #22925D #252292 #922257
square
#8F9222 #22925D #252292 #922257
split-complementary
#8F9222 #225792 #5D2292
monochromatic
#2E2F0B #5E6016 #8F9222 #C0C42E #D4D857

Accessibility & contrast

On white

3.33
#8F9222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#8F9222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9222
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9222#FFFFFF#000000##000000
##8F92221.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B06
Deuteranopia (green-blind)
#9F8E2B
Tritanopia (blue-blind)
#99897D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8f9222;
/* rgb */ color: rgb(143, 146, 34);
/* oklch */ color: oklch(63.7% 0.128 111.1);
Tailwind
colors: {
  custom: {
    50: '#b3b167',
    500: '#8f9222',
    950: '#000000',
  },
}
SCSS
$custom: #8f9222;
$custom-light: #b3b167;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9222",
  "rgb": {
    "r": 143,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 61.607,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63738,
    "c": 0.12849,
    "h": 111.1
  },
  "luminance": 0.26513
}

Semantic roles & 50–950 ramp

primary
#8F9222
secondary
#5754BC
accent
#43E547
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F9222

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

Preview Lab → · Contrast checker → · Palette generator →

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