#8D8F27#8D8F27

#8D8F27 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.123 H 110.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8D8F27
RGBrgb(141, 143, 39)
HSLhsl(61, 57%, 36%)
HSVhsv(61, 73%, 56%)
CMYKcmyk(1.4%, 0%, 72.7%, 43.9%)
CIE-LABlab(57.52, -13.78, 51.86)
CIE-LCHlch(57.52, 53.66, 104.88°)
OKLaboklab(62.9% -0.0431 0.115)
OKLCHoklch(62.9% 0.123 110.6)
XYZxyz(21.1739, 25.4547, 5.7169)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8F27 #29278F
analogous
#8F5D27 #8D8F27 #598F27
triadic
#8D8F27 #278D8F #8F278D
tetradic
#8D8F27 #278F5D #29278F #8F2759
square
#8D8F27 #278F5D #29278F #8F2759
split-complementary
#8D8F27 #27598F #5D278F
monochromatic
#2E2F0D #5E5F1A #8D8F27 #BCBF34 #D1D35D

Accessibility & contrast

On white

3.45
#8D8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8D8F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8F27
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8F27#FFFFFF#000000##000000
##8D8F271.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8914
Deuteranopia (green-blind)
#9B8C2F
Tritanopia (blue-blind)
#97867B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d8f27;
/* rgb */ color: rgb(141, 143, 39);
/* oklch */ color: oklch(62.9% 0.123 110.6);
Tailwind
colors: {
  custom: {
    50: '#b1af69',
    500: '#8d8f27',
    950: '#000000',
  },
}
SCSS
$custom: #8d8f27;
$custom-light: #b1af69;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8f27",
  "rgb": {
    "r": 141,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 61.154,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62903,
    "c": 0.12277,
    "h": 110.6
  },
  "luminance": 0.25454
}

Semantic roles & 50–950 ramp

primary
#8D8F27
secondary
#5B5AB8
accent
#47E04A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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