#46811B#46811B

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

Color values

HEX#46811B
RGBrgb(70, 129, 27)
HSLhsl(95, 65%, 31%)
HSVhsv(95, 79%, 51%)
CMYKcmyk(45.7%, 0%, 79.1%, 49.4%)
CIE-LABlab(48.36, -36.95, 45.75)
CIE-LCHlch(48.36, 58.80, 128.93°)
OKLaboklab(54.25% -0.1032 0.1019)
OKLCHoklch(54.25% 0.145 135.4)
XYZxyz(10.5736, 17.0811, 3.7765)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46811B #561B81
analogous
#79811B #46811B #1B8123
triadic
#46811B #1B4681 #811B46
tetradic
#46811B #1B7981 #561B81 #81231B
square
#46811B #1B7981 #561B81 #81231B
split-complementary
#46811B #231B81 #811B79
monochromatic
#0F1C06 #2B4E10 #46811B #61B426 #7FD73F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##46811B#FFFFFF#000000##FFFFFF
##46811B1.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)
#867602
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#447C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #46811b;
/* rgb */ color: rgb(70, 129, 27);
/* oklch */ color: oklch(54.3% 0.145 135.4);
Tailwind
colors: {
  custom: {
    50: '#7fa660',
    500: '#46811b',
    950: '#000000',
  },
}
SCSS
$custom: #46811b;
$custom-light: #7fa660;
$custom-dark: #000000;
JSON
{
  "hex": "#46811b",
  "rgb": {
    "r": 70,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 94.706,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54252,
    "c": 0.14507,
    "h": 135.4
  },
  "luminance": 0.17082
}

Semantic roles & 50–950 ramp

primary
#46811B
secondary
#8543B5
accent
#3FE8A1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #46811B

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

Preview Lab → · Contrast checker → · Palette generator →

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