#8B9538#8B9538

#8B9538 is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.3% C 0.117 H 114.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8B9538
RGBrgb(139, 149, 56)
HSLhsl(66, 45%, 40%)
HSVhsv(66, 62%, 58%)
CMYKcmyk(6.7%, 0%, 62.4%, 41.6%)
CIE-LABlab(59.22, -16.74, 46.49)
CIE-LCHlch(59.22, 49.41, 109.80°)
OKLaboklab(64.27% -0.0495 0.1065)
OKLCHoklch(64.27% 0.117 114.9)
XYZxyz(22.1092, 27.2697, 7.8395)
Luminance0.2727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9538 #423895
analogous
#957138 #8B9538 #5C9538
triadic
#8B9538 #388B95 #95388B
tetradic
#8B9538 #389571 #423895 #95385C
square
#8B9538 #389571 #423895 #95385C
split-complementary
#8B9538 #385C95 #713895
monochromatic
#383C17 #626927 #8B9538 #B1BC4E #C4CD7A

Accessibility & contrast

On white

3.25
#8B9538 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#8B9538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9538
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9538#FFFFFF#000000##000000
##8B95381.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E2D
Deuteranopia (green-blind)
#9F8F3E
Tritanopia (blue-blind)
#948D81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8b9538;
/* rgb */ color: rgb(139, 149, 56);
/* oklch */ color: oklch(64.3% 0.117 114.9);
Tailwind
colors: {
  custom: {
    50: '#afb473',
    500: '#8b9538',
    950: '#000000',
  },
}
SCSS
$custom: #8b9538;
$custom-light: #afb473;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9538",
  "rgb": {
    "r": 139,
    "g": 149,
    "b": 56
  },
  "hsl": {
    "h": 66.452,
    "s": 45.366,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6427,
    "c": 0.1174,
    "h": 114.9
  },
  "luminance": 0.27269
}

Semantic roles & 50–950 ramp

primary
#8B9538
secondary
#7A73B6
accent
#53D561
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8B9538

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

Preview Lab → · Contrast checker → · Palette generator →

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