#8F9224#8F9224

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

Color values

HEX#8F9224
RGBrgb(143, 146, 36)
HSLhsl(62, 60%, 36%)
HSVhsv(62, 75%, 57%)
CMYKcmyk(2.1%, 0%, 75.3%, 42.7%)
CIE-LABlab(58.53, -14.61, 53.98)
CIE-LCHlch(58.53, 55.92, 105.15°)
OKLaboklab(63.75% -0.0459 0.1188)
OKLCHoklch(63.75% 0.127 111.1)
XYZxyz(21.9258, 26.5254, 5.6336)
Luminance0.2652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9224 #272492
analogous
#925E24 #8F9224 #589224
triadic
#8F9224 #248F92 #92248F
tetradic
#8F9224 #24925E #272492 #922458
square
#8F9224 #24925E #272492 #922458
split-complementary
#8F9224 #245892 #5E2492
monochromatic
#2F300C #5F6118 #8F9224 #BFC330 #D3D65A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9224#FFFFFF#000000##000000
##8F92241.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)
#9E8B0C
Deuteranopia (green-blind)
#9E8E2D
Tritanopia (blue-blind)
#99897D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8f9224;
/* rgb */ color: rgb(143, 146, 36);
/* oklch */ color: oklch(63.8% 0.127 111.1);
Tailwind
colors: {
  custom: {
    50: '#b3b168',
    500: '#8f9224',
    950: '#000000',
  },
}
SCSS
$custom: #8f9224;
$custom-light: #b3b168;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9224",
  "rgb": {
    "r": 143,
    "g": 146,
    "b": 36
  },
  "hsl": {
    "h": 61.636,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63751,
    "c": 0.12734,
    "h": 111.1
  },
  "luminance": 0.26525
}

Semantic roles & 50–950 ramp

primary
#8F9224
secondary
#5A57BB
accent
#44E449
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F9224

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

Preview Lab → · Contrast checker → · Palette generator →

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