#8C8F2D#8C8F2D

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

Color values

HEX#8C8F2D
RGBrgb(140, 143, 45)
HSLhsl(62, 52%, 37%)
HSVhsv(62, 69%, 56%)
CMYKcmyk(2.1%, 0%, 68.5%, 43.9%)
CIE-LABlab(57.47, -13.89, 49.43)
CIE-LCHlch(57.47, 51.34, 105.69°)
OKLaboklab(62.86% -0.0428 0.1109)
OKLCHoklch(62.86% 0.119 111.1)
XYZxyz(21.1120, 25.4104, 6.2747)
Luminance0.2541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8F2D #302D8F
analogous
#8F612D #8C8F2D #5B8F2D
triadic
#8C8F2D #2D8C8F #8F2D8C
tetradic
#8C8F2D #2D8F61 #302D8F #8F2D5B
square
#8C8F2D #2D8F61 #302D8F #8F2D5B
split-complementary
#8C8F2D #2D5B8F #612D8F
monochromatic
#313210 #5E601E #8C8F2D #BABE3C #CCCF67

Accessibility & contrast

On white

3.45
#8C8F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#8C8F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8F2D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8F2D#FFFFFF#000000##000000
##8C8F2D1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891F
Deuteranopia (green-blind)
#9B8B34
Tritanopia (blue-blind)
#96867B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8c8f2d;
/* rgb */ color: rgb(140, 143, 45);
/* oklch */ color: oklch(62.9% 0.119 111.1);
Tailwind
colors: {
  custom: {
    50: '#b0af6c',
    500: '#8c8f2d',
    950: '#000000',
  },
}
SCSS
$custom: #8c8f2d;
$custom-light: #b0af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8f2d",
  "rgb": {
    "r": 140,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 61.837,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62861,
    "c": 0.11887,
    "h": 111.1
  },
  "luminance": 0.2541
}

Semantic roles & 50–950 ramp

primary
#8C8F2D
secondary
#6462B6
accent
#4CDC51
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8C8F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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