#46831F#46831F

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

Color values

HEX#46831F
RGBrgb(70, 131, 31)
HSLhsl(97, 62%, 32%)
HSVhsv(97, 76%, 51%)
CMYKcmyk(46.6%, 0%, 76.3%, 48.6%)
CIE-LABlab(49.05, -37.54, 44.98)
CIE-LCHlch(49.05, 58.58, 129.85°)
OKLaboklab(54.82% -0.1045 0.1009)
OKLCHoklch(54.82% 0.145 136)
XYZxyz(10.8891, 17.6329, 4.1258)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46831F #5C1F83
analogous
#78831F #46831F #1F832A
triadic
#46831F #1F4683 #831F46
tetradic
#46831F #1F7883 #5C1F83 #832A1F
square
#46831F #1F7883 #5C1F83 #832A1F
split-complementary
#46831F #2A1F83 #831F78
monochromatic
#112008 #2C5213 #46831F #60B42B #7FD449

Accessibility & contrast

On white

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

On black

4.53
#46831F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##46831F#FFFFFF#000000##FFFFFF
##46831F1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780B
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#447E70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #46831f;
/* rgb */ color: rgb(70, 131, 31);
/* oklch */ color: oklch(54.8% 0.145 136.0);
Tailwind
colors: {
  custom: {
    50: '#7fa762',
    500: '#46831f',
    950: '#000000',
  },
}
SCSS
$custom: #46831f;
$custom-light: #7fa762;
$custom-dark: #000000;
JSON
{
  "hex": "#46831f",
  "rgb": {
    "r": 70,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 96.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.14531,
    "h": 136
  },
  "luminance": 0.17634
}

Semantic roles & 50–950 ramp

primary
#46831F
secondary
#8B48B6
accent
#43E5A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #46831F

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

Preview Lab → · Contrast checker → · Palette generator →

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