#46811A#46811A

#46811A is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.2% C 0.146 H 135.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#46811A
RGBrgb(70, 129, 26)
HSLhsl(94, 66%, 30%)
HSVhsv(94, 80%, 51%)
CMYKcmyk(45.7%, 0%, 79.8%, 49.4%)
CIE-LABlab(48.36, -37.01, 46.08)
CIE-LCHlch(48.36, 59.11, 128.77°)
OKLaboklab(54.25% -0.1035 0.1025)
OKLCHoklch(54.25% 0.146 135.3)
XYZxyz(10.5623, 17.0766, 3.7166)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46811A #551A81
analogous
#79811A #46811A #1A8121
triadic
#46811A #1A4681 #811A46
tetradic
#46811A #1A7981 #551A81 #81211A
square
#46811A #1A7981 #551A81 #81211A
split-complementary
#46811A #211A81 #811A79
monochromatic
#0F1B05 #2A4E10 #46811A #62B424 #7FD83D

Accessibility & contrast

On white

4.76
#46811A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#46811A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #46811A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46811A#FFFFFF#000000##FFFFFF
##46811A1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#447C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #46811a;
/* rgb */ color: rgb(70, 129, 26);
/* oklch */ color: oklch(54.2% 0.146 135.3);
Tailwind
colors: {
  custom: {
    50: '#7fa65f',
    500: '#46811a',
    950: '#000000',
  },
}
SCSS
$custom: #46811a;
$custom-light: #7fa65f;
$custom-dark: #000000;
JSON
{
  "hex": "#46811a",
  "rgb": {
    "r": 70,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 94.369,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54246,
    "c": 0.14562,
    "h": 135.3
  },
  "luminance": 0.17077
}

Semantic roles & 50–950 ramp

primary
#46811A
secondary
#8442B5
accent
#3EE9A0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #46811A

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

Preview Lab → · Contrast checker → · Palette generator →

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