#3E831A#3E831A

#3E831A is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.4% C 0.152 H 137.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3E831A
RGBrgb(62, 131, 26)
HSLhsl(99, 67%, 31%)
HSVhsv(99, 80%, 51%)
CMYKcmyk(52.7%, 0%, 80.2%, 48.6%)
CIE-LABlab(48.67, -40.47, 46.26)
CIE-LCHlch(48.67, 61.47, 131.18°)
OKLaboklab(54.41% -0.1122 0.103)
OKLCHoklch(54.41% 0.152 137.5)
XYZxyz(10.2890, 17.3306, 3.7800)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E831A #5F1A83
analogous
#72831A #3E831A #1A832B
triadic
#3E831A #1A3E83 #831A3E
tetradic
#3E831A #1A7283 #5F1A83 #832B1A
square
#3E831A #1A7283 #5F1A83 #832B1A
split-complementary
#3E831A #2B1A83 #831A72
monochromatic
#0E1D06 #265010 #3E831A #56B624 #73D93F

Accessibility & contrast

On white

4.70
#3E831A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#3E831A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E831A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E831A#FFFFFF#000000##FFFFFF
##3E831A1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7F7126
Tritanopia (blue-blind)
#397E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3e831a;
/* rgb */ color: rgb(62, 131, 26);
/* oklch */ color: oklch(54.4% 0.152 137.5);
Tailwind
colors: {
  custom: {
    50: '#7ba860',
    500: '#3e831a',
    950: '#000000',
  },
}
SCSS
$custom: #3e831a;
$custom-light: #7ba860;
$custom-dark: #000000;
JSON
{
  "hex": "#3e831a",
  "rgb": {
    "r": 62,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 99.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54411,
    "c": 0.15231,
    "h": 137.5
  },
  "luminance": 0.17331
}

Semantic roles & 50–950 ramp

primary
#3E831A
secondary
#8F42B7
accent
#3EEAAF
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E831A

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

Preview Lab → · Contrast checker → · Palette generator →

#3E831A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva