#8A7923#8A7923

#8A7923 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.105 H 97.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8A7923
RGBrgb(138, 121, 35)
HSLhsl(50, 60%, 34%)
HSVhsv(50, 75%, 54%)
CMYKcmyk(0%, 12.3%, 74.6%, 45.9%)
CIE-LABlab(50.92, -3.34, 46.92)
CIE-LCHlch(50.92, 47.04, 94.07°)
OKLaboklab(57.58% -0.014 0.1038)
OKLCHoklch(57.58% 0.105 97.7)
XYZxyz(17.6228, 19.2003, 4.3676)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7923 #23348A
analogous
#8A4623 #8A7923 #688A23
triadic
#8A7923 #238A79 #79238A
tetradic
#8A7923 #238A46 #23348A #8A2368
square
#8A7923 #238A46 #23348A #8A2368
split-complementary
#8A7923 #23688A #46238A
monochromatic
#28230A #594E17 #8A7923 #BBA42F #D4BE54

Accessibility & contrast

On white

4.34
#8A7923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8A7923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7923
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7923#FFFFFF#000000##000000
##8A79231.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867615
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#957068
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a7923;
/* rgb */ color: rgb(138, 121, 35);
/* oklch */ color: oklch(57.6% 0.105 97.7);
Tailwind
colors: {
  custom: {
    50: '#af9f64',
    500: '#8a7923',
    950: '#000000',
  },
}
SCSS
$custom: #8a7923;
$custom-light: #af9f64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7923",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 50.097,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57579,
    "c": 0.10477,
    "h": 97.7
  },
  "luminance": 0.19199
}

Semantic roles & 50–950 ramp

primary
#8A7923
secondary
#5162B7
accent
#5FE345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7923

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

Preview Lab → · Contrast checker → · Palette generator →

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