#8B8F22#8B8F22

#8B8F22 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.7% C 0.126 H 111.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8B8F22
RGBrgb(139, 143, 34)
HSLhsl(62, 62%, 35%)
HSVhsv(62, 76%, 56%)
CMYKcmyk(2.8%, 0%, 76.2%, 43.9%)
CIE-LABlab(57.32, -14.91, 53.42)
CIE-LCHlch(57.32, 55.46, 105.60°)
OKLaboklab(62.69% -0.0467 0.1174)
OKLCHoklch(62.69% 0.126 111.7)
XYZxyz(20.7594, 25.2499, 5.2932)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8F22 #26228F
analogous
#8F5D22 #8B8F22 #548F22
triadic
#8B8F22 #228B8F #8F228B
tetradic
#8B8F22 #228F5D #26228F #8F2254
square
#8B8F22 #228F5D #26228F #8F2254
split-complementary
#8B8F22 #22548F #5D228F
monochromatic
#2B2C0A #5B5E16 #8B8F22 #BBC02E #D2D755

Accessibility & contrast

On white

3.47
#8B8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8B8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8F22
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8F22#FFFFFF#000000##000000
##8B8F221.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8809
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#95867A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8b8f22;
/* rgb */ color: rgb(139, 143, 34);
/* oklch */ color: oklch(62.7% 0.126 111.7);
Tailwind
colors: {
  custom: {
    50: '#b0af66',
    500: '#8b8f22',
    950: '#000000',
  },
}
SCSS
$custom: #8b8f22;
$custom-light: #b0af66;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8f22",
  "rgb": {
    "r": 139,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 62.202,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62694,
    "c": 0.12631,
    "h": 111.7
  },
  "luminance": 0.25249
}

Semantic roles & 50–950 ramp

primary
#8B8F22
secondary
#5652BA
accent
#43E549
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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