#8D8E2C#8D8E2C

#8D8E2C is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.7% C 0.118 H 109.9°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8D8E2C
RGBrgb(141, 142, 44)
HSLhsl(61, 53%, 36%)
HSVhsv(61, 69%, 56%)
CMYKcmyk(0.7%, 0%, 69%, 44.3%)
CIE-LABlab(57.26, -12.97, 49.65)
CIE-LCHlch(57.26, 51.31, 104.64°)
OKLaboklab(62.71% -0.0403 0.1112)
OKLCHoklch(62.71% 0.118 109.9)
XYZxyz(21.1128, 25.1912, 6.1326)
Luminance0.2519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8E2C #2D2C8E
analogous
#8E5E2C #8D8E2C #5C8E2C
triadic
#8D8E2C #2C8D8E #8E2C8D
tetradic
#8D8E2C #2C8E5E #2D2C8E #8E2C5C
square
#8D8E2C #2C8E5E #2D2C8E #8E2C5C
split-complementary
#8D8E2C #2C5C8E #5E2C8E
monochromatic
#30310F #5F5F1E #8D8E2C #BBBD3A #CECF65

Accessibility & contrast

On white

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

On black

6.04
#8D8E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8E2C
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8E2C#FFFFFF#000000##000000
##8D8E2C1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881D
Deuteranopia (green-blind)
#9A8B33
Tritanopia (blue-blind)
#97857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8d8e2c;
/* rgb */ color: rgb(141, 142, 44);
/* oklch */ color: oklch(62.7% 0.118 109.9);
Tailwind
colors: {
  custom: {
    50: '#b1ae6b',
    500: '#8d8e2c',
    950: '#000000',
  },
}
SCSS
$custom: #8d8e2c;
$custom-light: #b1ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8e2c",
  "rgb": {
    "r": 141,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 60.612,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6271,
    "c": 0.11828,
    "h": 109.9
  },
  "luminance": 0.25191
}

Semantic roles & 50–950 ramp

primary
#8D8E2C
secondary
#6160B6
accent
#4CDC4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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