#46871A#46871A

#46871A is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 55.9% C 0.153 H 136.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#46871A
RGBrgb(70, 135, 26)
HSLhsl(96, 68%, 32%)
HSVhsv(96, 81%, 53%)
CMYKcmyk(48.1%, 0%, 80.7%, 47.1%)
CIE-LABlab(50.34, -39.54, 47.96)
CIE-LCHlch(50.34, 62.15, 129.50°)
OKLaboklab(55.87% -0.1102 0.1064)
OKLCHoklch(55.87% 0.153 136)
XYZxyz(11.3759, 18.7039, 3.9879)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46871A #5B1A87
analogous
#7D871A #46871A #1A8725
triadic
#46871A #1A4687 #871A46
tetradic
#46871A #1A7D87 #5B1A87 #87251A
square
#46871A #1A7D87 #5B1A87 #87251A
split-complementary
#46871A #251A87 #871A7D
monochromatic
#112006 #2B5410 #46871A #61BA24 #7FDA41

Accessibility & contrast

On white

4.43
#46871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#46871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #46871A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46871A#FFFFFF#000000##000000
##46871A1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#438273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #46871a;
/* rgb */ color: rgb(70, 135, 26);
/* oklch */ color: oklch(55.9% 0.153 136.0);
Tailwind
colors: {
  custom: {
    50: '#80aa60',
    500: '#46871a',
    950: '#000000',
  },
}
SCSS
$custom: #46871a;
$custom-light: #80aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#46871a",
  "rgb": {
    "r": 70,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 95.78,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55874,
    "c": 0.15322,
    "h": 136
  },
  "luminance": 0.18705
}

Semantic roles & 50–950 ramp

primary
#46871A
secondary
#8A42BA
accent
#3DEBA5
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #46871A

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

Preview Lab → · Contrast checker → · Palette generator →

#46871A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva