#8A7A1E#8A7A1E

#8A7A1E is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.8% C 0.109 H 98.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8A7A1E
RGBrgb(138, 122, 30)
HSLhsl(51, 64%, 33%)
HSVhsv(51, 78%, 54%)
CMYKcmyk(0%, 11.6%, 78.3%, 45.9%)
CIE-LABlab(51.17, -4.13, 49.08)
CIE-LCHlch(51.17, 49.25, 94.81°)
OKLaboklab(57.77% -0.0167 0.1074)
OKLCHoklch(57.77% 0.109 98.9)
XYZxyz(17.6760, 19.4170, 4.0448)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A1E #1E2E8A
analogous
#8A441E #8A7A1E #648A1E
triadic
#8A7A1E #1E8A7A #7A1E8A
tetradic
#8A7A1E #1E8A44 #1E2E8A #8A1E64
square
#8A7A1E #1E8A44 #1E2E8A #8A1E64
split-complementary
#8A7A1E #1E648A #441E8A
monochromatic
#252108 #584E13 #8A7A1E #BCA629 #D8C34B

Accessibility & contrast

On white

4.30
#8A7A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8A7A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A1E
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A1E#FFFFFF#000000##000000
##8A7A1E1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#957068
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7a1e;
/* rgb */ color: rgb(138, 122, 30);
/* oklch */ color: oklch(57.8% 0.109 98.9);
Tailwind
colors: {
  custom: {
    50: '#b0a062',
    500: '#8a7a1e',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a1e;
$custom-light: #b0a062;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a1e",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 51.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57768,
    "c": 0.10871,
    "h": 98.9
  },
  "luminance": 0.19416
}

Semantic roles & 50–950 ramp

primary
#8A7A1E
secondary
#4A5ABA
accent
#59E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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