#8A7B1E#8A7B1E

#8A7B1E is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.0% C 0.110 H 99.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8A7B1E
RGBrgb(138, 123, 30)
HSLhsl(52, 64%, 33%)
HSVhsv(52, 78%, 54%)
CMYKcmyk(0%, 10.9%, 78.3%, 45.9%)
CIE-LABlab(51.45, -4.69, 49.34)
CIE-LCHlch(51.45, 49.57, 95.43°)
OKLaboklab(57.99% -0.0183 0.108)
OKLCHoklch(57.99% 0.11 99.6)
XYZxyz(17.7994, 19.6638, 4.0860)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7B1E #1E2D8A
analogous
#8A451E #8A7B1E #638A1E
triadic
#8A7B1E #1E8A7B #7B1E8A
tetradic
#8A7B1E #1E8A45 #1E2D8A #8A1E63
square
#8A7B1E #1E8A45 #1E2D8A #8A1E63
split-complementary
#8A7B1E #1E638A #451E8A
monochromatic
#252108 #584E13 #8A7B1E #BCA829 #D8C44B

Accessibility & contrast

On white

4.26
#8A7B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8A7B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7B1E
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7B1E#FFFFFF#000000##000000
##8A7B1E1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88770A
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#957169
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a7b1e;
/* rgb */ color: rgb(138, 123, 30);
/* oklch */ color: oklch(58.0% 0.110 99.6);
Tailwind
colors: {
  custom: {
    50: '#b0a062',
    500: '#8a7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #8a7b1e;
$custom-light: #b0a062;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7b1e",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 51.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57993,
    "c": 0.10951,
    "h": 99.6
  },
  "luminance": 0.19663
}

Semantic roles & 50–950 ramp

primary
#8A7B1E
secondary
#4A59BA
accent
#58E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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