#46831A#46831A

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

Color values

HEX#46831A
RGBrgb(70, 131, 26)
HSLhsl(95, 67%, 31%)
HSVhsv(95, 80%, 51%)
CMYKcmyk(46.6%, 0%, 80.2%, 48.6%)
CIE-LABlab(49.02, -37.86, 46.71)
CIE-LCHlch(49.02, 60.13, 129.03°)
OKLaboklab(54.79% -0.1057 0.1038)
OKLCHoklch(54.79% 0.148 135.5)
XYZxyz(10.8283, 17.6086, 3.8053)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46831A #571A83
analogous
#7A831A #46831A #1A8322
triadic
#46831A #1A4683 #831A46
tetradic
#46831A #1A7A83 #571A83 #83221A
square
#46831A #1A7A83 #571A83 #83221A
split-complementary
#46831A #221A83 #831A7A
monochromatic
#0F1D06 #2B5010 #46831A #61B624 #7FD93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##46831A#FFFFFF#000000##FFFFFF
##46831A1.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)
#887800
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#447E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #46831a;
/* rgb */ color: rgb(70, 131, 26);
/* oklch */ color: oklch(54.8% 0.148 135.5);
Tailwind
colors: {
  custom: {
    50: '#80a760',
    500: '#46831a',
    950: '#000000',
  },
}
SCSS
$custom: #46831a;
$custom-light: #80a760;
$custom-dark: #000000;
JSON
{
  "hex": "#46831a",
  "rgb": {
    "r": 70,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 94.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54789,
    "c": 0.14817,
    "h": 135.5
  },
  "luminance": 0.17609
}

Semantic roles & 50–950 ramp

primary
#46831A
secondary
#8642B7
accent
#3EEAA2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #46831A

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

Preview Lab → · Contrast checker → · Palette generator →

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