#8A751E#8A751E

#8A751E is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.7% C 0.105 H 94.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8A751E
RGBrgb(138, 117, 30)
HSLhsl(48, 64%, 33%)
HSVhsv(48, 78%, 54%)
CMYKcmyk(0%, 15.2%, 78.3%, 45.9%)
CIE-LABlab(49.76, -1.32, 47.77)
CIE-LCHlch(49.76, 47.78, 91.58°)
OKLaboklab(56.65% -0.0088 0.1046)
OKLCHoklch(56.65% 0.105 94.8)
XYZxyz(17.0778, 18.2206, 3.8454)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A751E #1E338A
analogous
#8A3F1E #8A751E #698A1E
triadic
#8A751E #1E8A75 #751E8A
tetradic
#8A751E #1E8A3F #1E338A #8A1E69
square
#8A751E #1E8A3F #1E338A #8A1E69
split-complementary
#8A751E #1E698A #3F1E8A
monochromatic
#252008 #584A13 #8A751E #BCA029 #D8BC4B

Accessibility & contrast

On white

4.52
#8A751E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8A751E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A751E
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A751E#FFFFFF#000000##000000
##8A751E1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#82730D
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#966B64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a751e;
/* rgb */ color: rgb(138, 117, 30);
/* oklch */ color: oklch(56.7% 0.105 94.8);
Tailwind
colors: {
  custom: {
    50: '#b09c61',
    500: '#8a751e',
    950: '#000000',
  },
}
SCSS
$custom: #8a751e;
$custom-light: #b09c61;
$custom-dark: #000000;
JSON
{
  "hex": "#8a751e",
  "rgb": {
    "r": 138,
    "g": 117,
    "b": 30
  },
  "hsl": {
    "h": 48.333,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56652,
    "c": 0.10498,
    "h": 94.8
  },
  "luminance": 0.1822
}

Semantic roles & 50–950 ramp

primary
#8A751E
secondary
#4A5FBA
accent
#61E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A751E

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

Preview Lab → · Contrast checker → · Palette generator →

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