#8C8E2A#8C8E2A

#8C8E2A is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.120 H 110.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8C8E2A
RGBrgb(140, 142, 42)
HSLhsl(61, 54%, 36%)
HSVhsv(61, 70%, 56%)
CMYKcmyk(1.4%, 0%, 70.4%, 44.3%)
CIE-LABlab(57.16, -13.53, 50.33)
CIE-LCHlch(57.16, 52.11, 105.05°)
OKLaboklab(62.61% -0.0421 0.1123)
OKLCHoklch(62.61% 0.12 110.5)
XYZxyz(20.9068, 25.0892, 5.9314)
Luminance0.2509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8E2A #2C2A8E
analogous
#8E5E2A #8C8E2A #5A8E2A
triadic
#8C8E2A #2A8C8E #8E2A8C
tetradic
#8C8E2A #2A8E5E #2C2A8E #8E2A5A
square
#8C8E2A #2A8E5E #2C2A8E #8E2A5A
split-complementary
#8C8E2A #2A5A8E #5E2A8E
monochromatic
#2F300E #5D5F1C #8C8E2A #BBBD38 #CED162

Accessibility & contrast

On white

3.49
#8C8E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8C8E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8E2A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8E2A#FFFFFF#000000##000000
##8C8E2A1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881A
Deuteranopia (green-blind)
#9A8B31
Tritanopia (blue-blind)
#96857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8c8e2a;
/* rgb */ color: rgb(140, 142, 42);
/* oklch */ color: oklch(62.6% 0.120 110.5);
Tailwind
colors: {
  custom: {
    50: '#b1ae6a',
    500: '#8c8e2a',
    950: '#000000',
  },
}
SCSS
$custom: #8c8e2a;
$custom-light: #b1ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8e2a",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 61.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62606,
    "c": 0.1199,
    "h": 110.5
  },
  "luminance": 0.25089
}

Semantic roles & 50–950 ramp

primary
#8C8E2A
secondary
#5F5DB6
accent
#4ADE4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C8E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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