#8D7E23#8D7E23

#8D7E23 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.109 H 99.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8D7E23
RGBrgb(141, 126, 35)
HSLhsl(52, 60%, 35%)
HSVhsv(52, 75%, 55%)
CMYKcmyk(0%, 10.6%, 75.2%, 44.7%)
CIE-LABlab(52.63, -4.74, 48.67)
CIE-LCHlch(52.63, 48.90, 95.57°)
OKLaboklab(59% -0.0181 0.1074)
OKLCHoklch(59% 0.109 99.6)
XYZxyz(18.7496, 20.7067, 4.5990)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7E23 #23328D
analogous
#8D4923 #8D7E23 #678D23
triadic
#8D7E23 #238D7E #7E238D
tetradic
#8D7E23 #238D49 #23328D #8D2367
square
#8D7E23 #238D49 #23328D #8D2367
split-complementary
#8D7E23 #23678D #49238D
monochromatic
#2B260B #5C5217 #8D7E23 #BEAA2F #D5C355

Accessibility & contrast

On white

4.08
#8D7E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8D7E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7E23
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7E23#FFFFFF#000000##000000
##8D7E231.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A13
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#98746C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d7e23;
/* rgb */ color: rgb(141, 126, 35);
/* oklch */ color: oklch(59.0% 0.109 99.6);
Tailwind
colors: {
  custom: {
    50: '#b2a365',
    500: '#8d7e23',
    950: '#000000',
  },
}
SCSS
$custom: #8d7e23;
$custom-light: #b2a365;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7e23",
  "rgb": {
    "r": 141,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 51.509,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59001,
    "c": 0.10896,
    "h": 99.6
  },
  "luminance": 0.20706
}

Semantic roles & 50–950 ramp

primary
#8D7E23
secondary
#5361B9
accent
#5BE344
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8D7E23

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

Preview Lab → · Contrast checker → · Palette generator →

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