#8D8F2C#8D8F2C

#8D8F2C is a light, moderate yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.119 H 110.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8D8F2C
RGBrgb(141, 143, 44)
HSLhsl(61, 53%, 37%)
HSVhsv(61, 69%, 56%)
CMYKcmyk(1.4%, 0%, 69.2%, 43.9%)
CIE-LABlab(57.55, -13.50, 49.94)
CIE-LCHlch(57.55, 51.73, 105.13°)
OKLaboklab(62.94% -0.0418 0.1118)
OKLCHoklch(62.94% 0.119 110.5)
XYZxyz(21.2623, 25.4901, 6.1824)
Luminance0.2549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8F2C #2E2C8F
analogous
#8F602C #8D8F2C #5C8F2C
triadic
#8D8F2C #2C8D8F #8F2C8D
tetradic
#8D8F2C #2C8F60 #2E2C8F #8F2C5C
square
#8D8F2C #2C8F60 #2E2C8F #8F2C5C
split-complementary
#8D8F2C #2C5C8F #602C8F
monochromatic
#31310F #5F601E #8D8F2C #BBBE3A #CED066

Accessibility & contrast

On white

3.44
#8D8F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8D8F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8F2C
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8F2C#FFFFFF#000000##000000
##8D8F2C1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d8f2c;
/* rgb */ color: rgb(141, 143, 44);
/* oklch */ color: oklch(62.9% 0.119 110.5);
Tailwind
colors: {
  custom: {
    50: '#b1af6b',
    500: '#8d8f2c',
    950: '#000000',
  },
}
SCSS
$custom: #8d8f2c;
$custom-light: #b1af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8f2c",
  "rgb": {
    "r": 141,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 61.212,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62941,
    "c": 0.11936,
    "h": 110.5
  },
  "luminance": 0.25489
}

Semantic roles & 50–950 ramp

primary
#8D8F2C
secondary
#6261B6
accent
#4BDC4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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