#8D8E27#8D8E27

#8D8E27 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.7% C 0.122 H 110.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8D8E27
RGBrgb(141, 142, 39)
HSLhsl(61, 57%, 35%)
HSVhsv(61, 73%, 56%)
CMYKcmyk(0.7%, 0%, 72.5%, 44.3%)
CIE-LABlab(57.23, -13.24, 51.58)
CIE-LCHlch(57.23, 53.25, 104.40°)
OKLaboklab(62.67% -0.0416 0.1144)
OKLCHoklch(62.67% 0.122 110)
XYZxyz(21.0244, 25.1558, 5.6671)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8E27 #28278E
analogous
#8E5C27 #8D8E27 #598E27
triadic
#8D8E27 #278D8E #8E278D
tetradic
#8D8E27 #278E5C #28278E #8E2759
square
#8D8E27 #278E5C #28278E #8E2759
split-complementary
#8D8E27 #27598E #5C278E
monochromatic
#2E2E0D #5D5E1A #8D8E27 #BDBE34 #D1D25D

Accessibility & contrast

On white

3.48
#8D8E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#8D8E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8E27
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8E27#FFFFFF#000000##000000
##8D8E271.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8815
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#97857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8e27;
/* rgb */ color: rgb(141, 142, 39);
/* oklch */ color: oklch(62.7% 0.122 110.0);
Tailwind
colors: {
  custom: {
    50: '#b1ae69',
    500: '#8d8e27',
    950: '#000000',
  },
}
SCSS
$custom: #8d8e27;
$custom-light: #b1ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8e27",
  "rgb": {
    "r": 141,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 60.583,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62672,
    "c": 0.1217,
    "h": 110
  },
  "luminance": 0.25155
}

Semantic roles & 50–950 ramp

primary
#8D8E27
secondary
#5A59B8
accent
#48E049
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8E27

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

Preview Lab → · Contrast checker → · Palette generator →

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