#8F9022#8F9022

#8F9022 is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.3% C 0.126 H 110.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8F9022
RGBrgb(143, 144, 34)
HSLhsl(61, 62%, 35%)
HSVhsv(61, 76%, 56%)
CMYKcmyk(0.7%, 0%, 76.4%, 43.5%)
CIE-LABlab(57.94, -13.65, 54.12)
CIE-LCHlch(57.94, 55.81, 104.15°)
OKLaboklab(63.28% -0.0433 0.1187)
OKLCHoklch(63.28% 0.126 110.1)
XYZxyz(21.5905, 25.9023, 5.3754)
Luminance0.2590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9022 #232290
analogous
#905A22 #8F9022 #589022
triadic
#8F9022 #228F90 #90228F
tetradic
#8F9022 #22905A #232290 #902258
square
#8F9022 #22905A #232290 #902258
split-complementary
#8F9022 #225890 #5A2290
monochromatic
#2D2D0B #5E5E16 #8F9022 #C0C22E #D6D755

Accessibility & contrast

On white

3.40
#8F9022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#8F9022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9022
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9022#FFFFFF#000000##000000
##8F90221.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A08
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#99877B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8f9022;
/* rgb */ color: rgb(143, 144, 34);
/* oklch */ color: oklch(63.3% 0.126 110.1);
Tailwind
colors: {
  custom: {
    50: '#b3b067',
    500: '#8f9022',
    950: '#000000',
  },
}
SCSS
$custom: #8f9022;
$custom-light: #b3b067;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9022",
  "rgb": {
    "r": 143,
    "g": 144,
    "b": 34
  },
  "hsl": {
    "h": 60.545,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63277,
    "c": 0.12639,
    "h": 110.1
  },
  "luminance": 0.25902
}

Semantic roles & 50–950 ramp

primary
#8F9022
secondary
#5453BB
accent
#43E544
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F9022

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

Preview Lab → · Contrast checker → · Palette generator →

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