#8B7D22#8B7D22

#8B7D22 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.109 H 100.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8B7D22
RGBrgb(139, 125, 34)
HSLhsl(52, 61%, 34%)
HSVhsv(52, 76%, 55%)
CMYKcmyk(0%, 10.1%, 75.5%, 45.5%)
CIE-LABlab(52.14, -5.16, 48.53)
CIE-LCHlch(52.14, 48.80, 96.07°)
OKLaboklab(58.57% -0.0193 0.107)
OKLCHoklch(58.57% 0.109 100.2)
XYZxyz(18.2707, 20.2726, 4.4637)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7D22 #22308B
analogous
#8B4922 #8B7D22 #658B22
triadic
#8B7D22 #228B7D #7D228B
tetradic
#8B7D22 #228B49 #22308B #8B2265
square
#8B7D22 #228B49 #22308B #8B2265
split-complementary
#8B7D22 #22658B #49228B
monochromatic
#29250A #5A5116 #8B7D22 #BCA92E #D5C353

Accessibility & contrast

On white

4.15
#8B7D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8B7D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7D22
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7D22#FFFFFF#000000##000000
##8B7D221.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#8D7F28
Tritanopia (blue-blind)
#96736B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b7d22;
/* rgb */ color: rgb(139, 125, 34);
/* oklch */ color: oklch(58.6% 0.109 100.2);
Tailwind
colors: {
  custom: {
    50: '#b0a264',
    500: '#8b7d22',
    950: '#000000',
  },
}
SCSS
$custom: #8b7d22;
$custom-light: #b0a264;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7d22",
  "rgb": {
    "r": 139,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 52,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5857,
    "c": 0.10874,
    "h": 100.2
  },
  "luminance": 0.20272
}

Semantic roles & 50–950 ramp

primary
#8B7D22
secondary
#505EB8
accent
#59E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8B7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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