#8F9122#8F9122

#8F9122 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.5% C 0.127 H 110.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8F9122
RGBrgb(143, 145, 34)
HSLhsl(61, 62%, 35%)
HSVhsv(61, 77%, 57%)
CMYKcmyk(1.4%, 0%, 76.6%, 43.1%)
CIE-LABlab(58.23, -14.17, 54.39)
CIE-LCHlch(58.23, 56.20, 104.61°)
OKLaboklab(63.51% -0.0448 0.1193)
OKLCHoklch(63.51% 0.127 110.6)
XYZxyz(21.7426, 26.2065, 5.4261)
Luminance0.2621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9122 #242291
analogous
#915B22 #8F9122 #589122
triadic
#8F9122 #228F91 #91228F
tetradic
#8F9122 #22915B #242291 #912258
square
#8F9122 #22915B #242291 #912258
split-complementary
#8F9122 #225891 #5B2291
monochromatic
#2D2E0B #5E5F16 #8F9122 #C0C32E #D5D756

Accessibility & contrast

On white

3.36
#8F9122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#8F9122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9122
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9122#FFFFFF#000000##000000
##8F91221.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A07
Deuteranopia (green-blind)
#9E8D2B
Tritanopia (blue-blind)
#99887C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8f9122;
/* rgb */ color: rgb(143, 145, 34);
/* oklch */ color: oklch(63.5% 0.127 110.6);
Tailwind
colors: {
  custom: {
    50: '#b3b167',
    500: '#8f9122',
    950: '#000000',
  },
}
SCSS
$custom: #8f9122;
$custom-light: #b3b167;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9122",
  "rgb": {
    "r": 143,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 61.081,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63507,
    "c": 0.12743,
    "h": 110.6
  },
  "luminance": 0.26206
}

Semantic roles & 50–950 ramp

primary
#8F9122
secondary
#5553BB
accent
#43E546
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F9122

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

Preview Lab → · Contrast checker → · Palette generator →

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