#8C911C#8C911C

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

Color values

HEX#8C911C
RGBrgb(140, 145, 28)
HSLhsl(63, 68%, 34%)
HSVhsv(63, 81%, 57%)
CMYKcmyk(3.4%, 0%, 80.7%, 43.1%)
CIE-LABlab(57.95, -15.77, 55.95)
CIE-LCHlch(57.95, 58.13, 105.74°)
OKLaboklab(63.21% -0.0496 0.1216)
OKLCHoklch(63.21% 0.131 112.2)
XYZxyz(21.1509, 25.9106, 4.9855)
Luminance0.2591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C911C #211C91
analogous
#915C1C #8C911C #52911C
triadic
#8C911C #1C8C91 #911C8C
tetradic
#8C911C #1C915C #211C91 #911C52
square
#8C911C #1C915C #211C91 #911C52
split-complementary
#8C911C #1C5291 #5C1C91
monochromatic
#292A08 #5A5E12 #8C911C #BEC426 #D6DC4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C911C#FFFFFF#000000##000000
##8C911C1.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)
#9D8D27
Tritanopia (blue-blind)
#96887C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8c911c;
/* rgb */ color: rgb(140, 145, 28);
/* oklch */ color: oklch(63.2% 0.131 112.2);
Tailwind
colors: {
  custom: {
    50: '#b1b164',
    500: '#8c911c',
    950: '#000000',
  },
}
SCSS
$custom: #8c911c;
$custom-light: #b1b164;
$custom-dark: #000000;
JSON
{
  "hex": "#8c911c",
  "rgb": {
    "r": 140,
    "g": 145,
    "b": 28
  },
  "hsl": {
    "h": 62.564,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63212,
    "c": 0.13134,
    "h": 112.2
  },
  "luminance": 0.2591
}

Semantic roles & 50–950 ramp

primary
#8C911C
secondary
#4F4ABE
accent
#3DEB45
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C911C

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

Preview Lab → · Contrast checker → · Palette generator →

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