#8D7B23#8D7B23

#8D7B23 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.107 H 97.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8D7B23
RGBrgb(141, 123, 35)
HSLhsl(50, 60%, 35%)
HSVhsv(50, 75%, 55%)
CMYKcmyk(0%, 12.8%, 75.2%, 44.7%)
CIE-LABlab(51.78, -3.07, 47.86)
CIE-LCHlch(51.78, 47.95, 93.67°)
OKLaboklab(58.33% -0.0134 0.1057)
OKLCHoklch(58.33% 0.107 97.2)
XYZxyz(18.3718, 19.9509, 4.4730)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7B23 #23358D
analogous
#8D4623 #8D7B23 #6A8D23
triadic
#8D7B23 #238D7B #7B238D
tetradic
#8D7B23 #238D46 #23358D #8D236A
square
#8D7B23 #238D46 #23358D #8D236A
split-complementary
#8D7B23 #236A8D #46238D
monochromatic
#2B250B #5C5017 #8D7B23 #BEA62F #D5BF55

Accessibility & contrast

On white

4.21
#8D7B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8D7B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7B23
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7B23#FFFFFF#000000##000000
##8D7B231.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887814
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#98716A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d7b23;
/* rgb */ color: rgb(141, 123, 35);
/* oklch */ color: oklch(58.3% 0.107 97.2);
Tailwind
colors: {
  custom: {
    50: '#b2a064',
    500: '#8d7b23',
    950: '#000000',
  },
}
SCSS
$custom: #8d7b23;
$custom-light: #b2a064;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7b23",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 49.811,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58331,
    "c": 0.10655,
    "h": 97.2
  },
  "luminance": 0.1995
}

Semantic roles & 50–950 ramp

primary
#8D7B23
secondary
#5364B9
accent
#5FE344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8D7B23

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

Preview Lab → · Contrast checker → · Palette generator →

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