#8A7B30#8A7B30

#8A7B30 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.096 H 98.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8A7B30
RGBrgb(138, 123, 48)
HSLhsl(50, 48%, 36%)
HSVhsv(50, 65%, 54%)
CMYKcmyk(0%, 10.9%, 65.2%, 45.9%)
CIE-LABlab(51.59, -3.69, 41.89)
CIE-LCHlch(51.59, 42.05, 95.03°)
OKLaboklab(58.14% -0.0134 0.0955)
OKLCHoklch(58.14% 0.096 98)
XYZxyz(18.0985, 19.7834, 5.6610)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7B30 #303F8A
analogous
#8A4E30 #8A7B30 #6C8A30
triadic
#8A7B30 #308A7B #7B308A
tetradic
#8A7B30 #308A4E #303F8A #8A306C
square
#8A7B30 #308A4E #303F8A #8A306C
split-complementary
#8A7B30 #306C8A #4E308A
monochromatic
#2F2A10 #5D5320 #8A7B30 #B7A340 #CBBB69

Accessibility & contrast

On white

4.24
#8A7B30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8A7B30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7B30
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7B30#FFFFFF#000000##000000
##8A7B301.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877827
Deuteranopia (green-blind)
#8B7D34
Tritanopia (blue-blind)
#95726B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a7b30;
/* rgb */ color: rgb(138, 123, 48);
/* oklch */ color: oklch(58.1% 0.096 98.0);
Tailwind
colors: {
  custom: {
    50: '#afa06c',
    500: '#8a7b30',
    950: '#000000',
  },
}
SCSS
$custom: #8a7b30;
$custom-light: #afa06c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7b30",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 48
  },
  "hsl": {
    "h": 50,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58144,
    "c": 0.09647,
    "h": 98
  },
  "luminance": 0.19783
}

Semantic roles & 50–950 ramp

primary
#8A7B30
secondary
#6471B2
accent
#67D850
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7B30

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

Preview Lab → · Contrast checker → · Palette generator →

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