#8C911F#8C911F

#8C911F is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.2% C 0.130 H 112.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8C911F
RGBrgb(140, 145, 31)
HSLhsl(63, 65%, 35%)
HSVhsv(63, 79%, 57%)
CMYKcmyk(3.4%, 0%, 78.6%, 43.1%)
CIE-LABlab(57.97, -15.65, 55.04)
CIE-LCHlch(57.97, 57.22, 105.87°)
OKLaboklab(63.23% -0.049 0.1202)
OKLCHoklch(63.23% 0.13 112.2)
XYZxyz(21.1887, 25.9257, 5.1841)
Luminance0.2592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C911F #241F91
analogous
#915D1F #8C911F #53911F
triadic
#8C911F #1F8C91 #911F8C
tetradic
#8C911F #1F915D #241F91 #911F53
square
#8C911F #1F915D #241F91 #911F53
split-complementary
#8C911F #1F5391 #5D1F91
monochromatic
#2B2C09 #5B5F14 #8C911F #BDC32A #D4DA51

Accessibility & contrast

On white

3.40
#8C911F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#8C911F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C911F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C911F#FFFFFF#000000##000000
##8C911F1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#96887C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8c911f;
/* rgb */ color: rgb(140, 145, 31);
/* oklch */ color: oklch(63.2% 0.130 112.2);
Tailwind
colors: {
  custom: {
    50: '#b1b165',
    500: '#8c911f',
    950: '#000000',
  },
}
SCSS
$custom: #8c911f;
$custom-light: #b1b165;
$custom-dark: #000000;
JSON
{
  "hex": "#8c911f",
  "rgb": {
    "r": 140,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 62.632,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.63228,
    "c": 0.12984,
    "h": 112.2
  },
  "luminance": 0.25925
}

Semantic roles & 50–950 ramp

primary
#8C911F
secondary
#544FBD
accent
#40E847
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C911F

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

Preview Lab → · Contrast checker → · Palette generator →

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