#8A7823#8A7823

#8A7823 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.4% C 0.104 H 96.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A7823
RGBrgb(138, 120, 35)
HSLhsl(50, 60%, 34%)
HSVhsv(50, 75%, 54%)
CMYKcmyk(0%, 13%, 74.6%, 45.9%)
CIE-LABlab(50.64, -2.78, 46.64)
CIE-LCHlch(50.64, 46.72, 93.41°)
OKLaboklab(57.36% -0.0124 0.1033)
OKLCHoklch(57.36% 0.104 96.8)
XYZxyz(17.5020, 18.9585, 4.3273)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7823 #23358A
analogous
#8A4523 #8A7823 #698A23
triadic
#8A7823 #238A78 #78238A
tetradic
#8A7823 #238A45 #23358A #8A2369
square
#8A7823 #238A45 #23358A #8A2369
split-complementary
#8A7823 #23698A #45238A
monochromatic
#28230A #594E17 #8A7823 #BBA22F #D4BD54

Accessibility & contrast

On white

4.38
#8A7823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8A7823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7823
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7823#FFFFFF#000000##000000
##8A78231.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857515
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#956E67
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a7823;
/* rgb */ color: rgb(138, 120, 35);
/* oklch */ color: oklch(57.4% 0.104 96.8);
Tailwind
colors: {
  custom: {
    50: '#b09e64',
    500: '#8a7823',
    950: '#000000',
  },
}
SCSS
$custom: #8a7823;
$custom-light: #b09e64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7823",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 35
  },
  "hsl": {
    "h": 49.515,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57356,
    "c": 0.104,
    "h": 96.8
  },
  "luminance": 0.18958
}

Semantic roles & 50–950 ramp

primary
#8A7823
secondary
#5163B7
accent
#61E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7823

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

Preview Lab → · Contrast checker → · Palette generator →

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