#8B7F23#8B7F23

#8B7F23 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.110 H 101.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8B7F23
RGBrgb(139, 127, 35)
HSLhsl(53, 60%, 34%)
HSVhsv(53, 75%, 55%)
CMYKcmyk(0%, 8.6%, 74.8%, 45.5%)
CIE-LABlab(52.72, -6.22, 48.69)
CIE-LCHlch(52.72, 49.09, 97.28°)
OKLaboklab(59.03% -0.0222 0.1076)
OKLCHoklch(59.03% 0.11 101.7)
XYZxyz(18.5410, 20.7899, 4.6260)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7F23 #232F8B
analogous
#8B4B23 #8B7F23 #638B23
triadic
#8B7F23 #238B7F #7F238B
tetradic
#8B7F23 #238B4B #232F8B #8B2363
square
#8B7F23 #238B4B #232F8B #8B2363
split-complementary
#8B7F23 #23638B #4B238B
monochromatic
#29260A #5A5217 #8B7F23 #BCAC2F #D4C554

Accessibility & contrast

On white

4.07
#8B7F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8B7F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7F23
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7F23#FFFFFF#000000##000000
##8B7F231.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B13
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#96766D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b7f23;
/* rgb */ color: rgb(139, 127, 35);
/* oklch */ color: oklch(59.0% 0.110 101.7);
Tailwind
colors: {
  custom: {
    50: '#b0a365',
    500: '#8b7f23',
    950: '#000000',
  },
}
SCSS
$custom: #8b7f23;
$custom-light: #b0a365;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7f23",
  "rgb": {
    "r": 139,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 53.077,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59028,
    "c": 0.10983,
    "h": 101.7
  },
  "luminance": 0.20789
}

Semantic roles & 50–950 ramp

primary
#8B7F23
secondary
#525EB8
accent
#57E345
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B7F23

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

Preview Lab → · Contrast checker → · Palette generator →

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