#8D912E#8D912E

#8D912E is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.4% C 0.120 H 111.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8D912E
RGBrgb(141, 145, 46)
HSLhsl(62, 52%, 37%)
HSVhsv(62, 68%, 57%)
CMYKcmyk(2.8%, 0%, 68.3%, 43.1%)
CIE-LABlab(58.14, -14.44, 49.72)
CIE-LCHlch(58.14, 51.78, 106.19°)
OKLaboklab(63.42% -0.0443 0.1117)
OKLCHoklch(63.42% 0.12 111.6)
XYZxyz(21.6037, 26.1113, 6.4862)
Luminance0.2611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D912E #322E91
analogous
#91632E #8D912E #5C912E
triadic
#8D912E #2E8D91 #912E8D
tetradic
#8D912E #2E9163 #322E91 #912E5C
square
#8D912E #2E9163 #322E91 #912E5C
split-complementary
#8D912E #2E5C91 #632E91
monochromatic
#333411 #60631F #8D912E #BABF3D #CCD06A

Accessibility & contrast

On white

3.38
#8D912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#8D912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D912E
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D912E#FFFFFF#000000##000000
##8D912E1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A20
Deuteranopia (green-blind)
#9D8D35
Tritanopia (blue-blind)
#97887D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d912e;
/* rgb */ color: rgb(141, 145, 46);
/* oklch */ color: oklch(63.4% 0.120 111.6);
Tailwind
colors: {
  custom: {
    50: '#b1b16d',
    500: '#8d912e',
    950: '#000000',
  },
}
SCSS
$custom: #8d912e;
$custom-light: #b1b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d912e",
  "rgb": {
    "r": 141,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 62.424,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63419,
    "c": 0.12012,
    "h": 111.6
  },
  "luminance": 0.26111
}

Semantic roles & 50–950 ramp

primary
#8D912E
secondary
#6864B7
accent
#4DDB52
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D912E

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

Preview Lab → · Contrast checker → · Palette generator →

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