#46871D#46871D

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

Color values

HEX#46871D
RGBrgb(70, 135, 29)
HSLhsl(97, 65%, 32%)
HSVhsv(97, 79%, 53%)
CMYKcmyk(48.1%, 0%, 78.5%, 47.1%)
CIE-LABlab(50.36, -39.35, 46.97)
CIE-LCHlch(50.36, 61.28, 129.96°)
OKLaboklab(55.89% -0.1096 0.1048)
OKLCHoklch(55.89% 0.152 136.3)
XYZxyz(11.4112, 18.7180, 4.1738)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46871D #5E1D87
analogous
#7B871D #46871D #1D8729
triadic
#46871D #1D4687 #871D46
tetradic
#46871D #1D7B87 #5E1D87 #87291D
square
#46871D #1D7B87 #5E1D87 #87291D
split-complementary
#46871D #291D87 #871D7B
monochromatic
#122207 #2C5512 #46871D #60B928 #7FD747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##46871D#FFFFFF#000000##000000
##46871D1.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)
#8C7B03
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#438273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #46871d;
/* rgb */ color: rgb(70, 135, 29);
/* oklch */ color: oklch(55.9% 0.152 136.3);
Tailwind
colors: {
  custom: {
    50: '#80aa62',
    500: '#46871d',
    950: '#000000',
  },
}
SCSS
$custom: #46871d;
$custom-light: #80aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#46871d",
  "rgb": {
    "r": 70,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 96.792,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55893,
    "c": 0.15161,
    "h": 136.3
  },
  "luminance": 0.18719
}

Semantic roles & 50–950 ramp

primary
#46871D
secondary
#8D46B9
accent
#40E8A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #46871D

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

Preview Lab → · Contrast checker → · Palette generator →

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