#8D8727#8D8727

#8D8727 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.1% C 0.115 H 105.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8D8727
RGBrgb(141, 135, 39)
HSLhsl(56, 57%, 35%)
HSVhsv(56, 72%, 55%)
CMYKcmyk(0%, 4.3%, 72.3%, 44.7%)
CIE-LABlab(55.21, -9.49, 49.62)
CIE-LCHlch(55.21, 50.52, 100.82°)
OKLaboklab(61.07% -0.0311 0.1102)
OKLCHoklch(61.07% 0.115 105.8)
XYZxyz(20.0155, 23.1379, 5.3308)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8727 #272D8D
analogous
#8D5427 #8D8727 #608D27
triadic
#8D8727 #278D87 #87278D
tetradic
#8D8727 #278D54 #272D8D #8D2760
square
#8D8727 #278D54 #272D8D #8D2760
split-complementary
#8D8727 #27608D #54278D
monochromatic
#2D2B0C #5D591A #8D8727 #BDB534 #D2CB5C

Accessibility & contrast

On white

3.73
#8D8727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8D8727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8727
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8727#FFFFFF#000000##000000
##8D87271.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938217
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#987E74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8d8727;
/* rgb */ color: rgb(141, 135, 39);
/* oklch */ color: oklch(61.1% 0.115 105.8);
Tailwind
colors: {
  custom: {
    50: '#b1a968',
    500: '#8d8727',
    950: '#000000',
  },
}
SCSS
$custom: #8d8727;
$custom-light: #b1a968;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8727",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 56.471,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61066,
    "c": 0.11451,
    "h": 105.8
  },
  "luminance": 0.23137
}

Semantic roles & 50–950 ramp

primary
#8D8727
secondary
#595EB7
accent
#51E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8727

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

Preview Lab → · Contrast checker → · Palette generator →

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