#46831D#46831D

#46831D is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.8% C 0.146 H 135.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#46831D
RGBrgb(70, 131, 29)
HSLhsl(96, 64%, 31%)
HSVhsv(96, 78%, 51%)
CMYKcmyk(46.6%, 0%, 77.9%, 48.6%)
CIE-LABlab(49.04, -37.67, 45.69)
CIE-LCHlch(49.04, 59.22, 129.51°)
OKLaboklab(54.81% -0.105 0.1021)
OKLCHoklch(54.81% 0.147 135.8)
XYZxyz(10.8636, 17.6227, 3.9913)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46831D #5A1D83
analogous
#79831D #46831D #1D8327
triadic
#46831D #1D4683 #831D46
tetradic
#46831D #1D7983 #5A1D83 #83271D
square
#46831D #1D7983 #5A1D83 #83271D
split-complementary
#46831D #271D83 #831D79
monochromatic
#101F07 #2B5112 #46831D #61B528 #7FD645

Accessibility & contrast

On white

4.64
#46831D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#46831D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #46831D
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46831D#FFFFFF#000000##FFFFFF
##46831D1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887806
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#447E70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #46831d;
/* rgb */ color: rgb(70, 131, 29);
/* oklch */ color: oklch(54.8% 0.146 135.8);
Tailwind
colors: {
  custom: {
    50: '#7fa761',
    500: '#46831d',
    950: '#000000',
  },
}
SCSS
$custom: #46831d;
$custom-light: #7fa761;
$custom-dark: #000000;
JSON
{
  "hex": "#46831d",
  "rgb": {
    "r": 70,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 95.882,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.1465,
    "h": 135.8
  },
  "luminance": 0.17623
}

Semantic roles & 50–950 ramp

primary
#46831D
secondary
#8946B6
accent
#41E7A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #46831D

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

Preview Lab → · Contrast checker → · Palette generator →

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