#8A6F18#8A6F18

#8A6F18 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.3% C 0.105 H 90.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8A6F18
RGBrgb(138, 111, 24)
HSLhsl(46, 70%, 32%)
HSVhsv(46, 83%, 54%)
CMYKcmyk(0%, 19.6%, 82.6%, 45.9%)
CIE-LABlab(48.06, 1.86, 48.38)
CIE-LCHlch(48.06, 48.41, 87.79°)
OKLaboklab(55.3% -0.0003 0.1046)
OKLCHoklch(55.3% 0.105 90.2)
XYZxyz(16.3315, 16.8392, 3.2541)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6F18 #18338A
analogous
#8A3618 #8A6F18 #6C8A18
triadic
#8A6F18 #188A6F #6F188A
tetradic
#8A6F18 #188A36 #18338A #8A186C
square
#8A6F18 #188A36 #18338A #8A186C
split-complementary
#8A6F18 #186C8A #36188A
monochromatic
#221B06 #56450F #8A6F18 #BE9921 #DEB83F

Accessibility & contrast

On white

4.81
#8A6F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8A6F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6F18
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6F18#FFFFFF#000000##FFFFFF
##8A6F181.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#96655F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a6f18;
/* rgb */ color: rgb(138, 111, 24);
/* oklch */ color: oklch(55.3% 0.105 90.2);
Tailwind
colors: {
  custom: {
    50: '#b0985d',
    500: '#8a6f18',
    950: '#000000',
  },
}
SCSS
$custom: #8a6f18;
$custom-light: #b0985d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6f18",
  "rgb": {
    "r": 138,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 45.789,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55295,
    "c": 0.10459,
    "h": 90.2
  },
  "luminance": 0.16838
}

Semantic roles & 50–950 ramp

primary
#8A6F18
secondary
#405EBD
accent
#65ED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #8A6F18

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

Preview Lab → · Contrast checker → · Palette generator →

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