#8C8E22#8C8E22

#8C8E22 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.125 H 110.6°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8C8E22
RGBrgb(140, 142, 34)
HSLhsl(61, 61%, 35%)
HSVhsv(61, 76%, 56%)
CMYKcmyk(1.4%, 0%, 76.1%, 44.3%)
CIE-LABlab(57.11, -13.94, 53.25)
CIE-LCHlch(57.11, 55.05, 104.67°)
OKLaboklab(62.55% -0.044 0.117)
OKLCHoklch(62.55% 0.125 110.6)
XYZxyz(20.7777, 25.0375, 5.2513)
Luminance0.2504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8E22 #24228E
analogous
#8E5A22 #8C8E22 #568E22
triadic
#8C8E22 #228C8E #8E228C
tetradic
#8C8E22 #228E5A #24228E #8E2256
square
#8C8E22 #228E5A #24228E #8E2256
split-complementary
#8C8E22 #22568E #5A228E
monochromatic
#2B2B0A #5B5D16 #8C8E22 #BDBF2E #D4D654

Accessibility & contrast

On white

3.50
#8C8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8C8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8E22
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8E22#FFFFFF#000000##000000
##8C8E221.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c8e22;
/* rgb */ color: rgb(140, 142, 34);
/* oklch */ color: oklch(62.5% 0.125 110.6);
Tailwind
colors: {
  custom: {
    50: '#b1ae66',
    500: '#8c8e22',
    950: '#000000',
  },
}
SCSS
$custom: #8c8e22;
$custom-light: #b1ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8e22",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 61.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62549,
    "c": 0.125,
    "h": 110.6
  },
  "luminance": 0.25037
}

Semantic roles & 50–950 ramp

primary
#8C8E22
secondary
#5452BA
accent
#43E446
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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