#8B8D22#8B8D22

#8B8D22 is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.2% C 0.124 H 110.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8B8D22
RGBrgb(139, 141, 34)
HSLhsl(61, 61%, 34%)
HSVhsv(61, 76%, 55%)
CMYKcmyk(1.4%, 0%, 75.9%, 44.7%)
CIE-LABlab(56.74, -13.86, 52.88)
CIE-LCHlch(56.74, 54.66, 104.69°)
OKLaboklab(62.23% -0.0437 0.1162)
OKLCHoklch(62.23% 0.124 110.6)
XYZxyz(20.4618, 24.6548, 5.1940)
Luminance0.2465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8D22 #24228D
analogous
#8D5922 #8B8D22 #568D22
triadic
#8B8D22 #228B8D #8D228B
tetradic
#8B8D22 #228D59 #24228D #8D2256
square
#8B8D22 #228D59 #24228D #8D2256
split-complementary
#8B8D22 #22568D #59228D
monochromatic
#2A2A0A #5A5C16 #8B8D22 #BCBE2E #D3D654

Accessibility & contrast

On white

3.54
#8B8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#8B8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8D22
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8D22#FFFFFF#000000##000000
##8B8D221.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870A
Deuteranopia (green-blind)
#998A2B
Tritanopia (blue-blind)
#958479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8b8d22;
/* rgb */ color: rgb(139, 141, 34);
/* oklch */ color: oklch(62.2% 0.124 110.6);
Tailwind
colors: {
  custom: {
    50: '#b0ae66',
    500: '#8b8d22',
    950: '#000000',
  },
}
SCSS
$custom: #8b8d22;
$custom-light: #b0ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8d22",
  "rgb": {
    "r": 139,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 61.121,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62229,
    "c": 0.12418,
    "h": 110.6
  },
  "luminance": 0.24654
}

Semantic roles & 50–950 ramp

primary
#8B8D22
secondary
#5351B9
accent
#44E447
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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