#8D7923#8D7923

#8D7923 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.105 H 95.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8D7923
RGBrgb(141, 121, 35)
HSLhsl(49, 60%, 35%)
HSVhsv(49, 75%, 55%)
CMYKcmyk(0%, 14.2%, 75.2%, 44.7%)
CIE-LABlab(51.22, -1.94, 47.31)
CIE-LCHlch(51.22, 47.35, 92.35°)
OKLaboklab(57.89% -0.0102 0.1046)
OKLCHoklch(57.89% 0.105 95.6)
XYZxyz(18.1262, 19.4598, 4.3912)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7923 #23378D
analogous
#8D4423 #8D7923 #6C8D23
triadic
#8D7923 #238D79 #79238D
tetradic
#8D7923 #238D44 #23378D #8D236C
square
#8D7923 #238D44 #23378D #8D236C
split-complementary
#8D7923 #236C8D #44238D
monochromatic
#2B250B #5C4F17 #8D7923 #BEA32F #D5BD55

Accessibility & contrast

On white

4.29
#8D7923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8D7923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7923
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7923#FFFFFF#000000##000000
##8D79231.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867615
Deuteranopia (green-blind)
#8B7D28
Tritanopia (blue-blind)
#996F68
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d7923;
/* rgb */ color: rgb(141, 121, 35);
/* oklch */ color: oklch(57.9% 0.105 95.6);
Tailwind
colors: {
  custom: {
    50: '#b29f64',
    500: '#8d7923',
    950: '#000000',
  },
}
SCSS
$custom: #8d7923;
$custom-light: #b29f64;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7923",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 48.679,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57887,
    "c": 0.10504,
    "h": 95.6
  },
  "luminance": 0.19459
}

Semantic roles & 50–950 ramp

primary
#8D7923
secondary
#5366B9
accent
#62E344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7923

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

Preview Lab → · Contrast checker → · Palette generator →

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