#3E831B#3E831B

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

Color values

HEX#3E831B
RGBrgb(62, 131, 27)
HSLhsl(100, 66%, 31%)
HSVhsv(100, 79%, 51%)
CMYKcmyk(52.7%, 0%, 79.4%, 48.6%)
CIE-LABlab(48.68, -40.41, 45.93)
CIE-LCHlch(48.68, 61.17, 131.34°)
OKLaboklab(54.42% -0.112 0.1024)
OKLCHoklch(54.42% 0.152 137.6)
XYZxyz(10.3004, 17.3351, 3.8399)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E831B #601B83
analogous
#72831B #3E831B #1B832C
triadic
#3E831B #1B3E83 #831B3E
tetradic
#3E831B #1B7283 #601B83 #832C1B
square
#3E831B #1B7283 #601B83 #832C1B
split-complementary
#3E831B #2C1B83 #831B72
monochromatic
#0E1E06 #265011 #3E831B #56B625 #73D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E831B#FFFFFF#000000##FFFFFF
##3E831B1.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)
#877701
Deuteranopia (green-blind)
#7F7126
Tritanopia (blue-blind)
#397E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3e831b;
/* rgb */ color: rgb(62, 131, 27);
/* oklch */ color: oklch(54.4% 0.152 137.6);
Tailwind
colors: {
  custom: {
    50: '#7ba860',
    500: '#3e831b',
    950: '#000000',
  },
}
SCSS
$custom: #3e831b;
$custom-light: #7ba860;
$custom-dark: #000000;
JSON
{
  "hex": "#3e831b",
  "rgb": {
    "r": 62,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 99.808,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.15178,
    "h": 137.6
  },
  "luminance": 0.17336
}

Semantic roles & 50–950 ramp

primary
#3E831B
secondary
#9043B6
accent
#3FE9B0
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E831B

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

Preview Lab → · Contrast checker → · Palette generator →

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