#3E8915#3E8915

#3E8915 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.0% C 0.162 H 137.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#3E8915
RGBrgb(62, 137, 21)
HSLhsl(99, 73%, 31%)
HSVhsv(99, 85%, 54%)
CMYKcmyk(54.7%, 0%, 84.7%, 46.3%)
CIE-LABlab(50.65, -43.13, 49.63)
CIE-LCHlch(50.65, 65.75, 130.99°)
OKLaboklab(56.03% -0.1196 0.1093)
OKLCHoklch(56.03% 0.162 137.6)
XYZxyz(11.0673, 18.9687, 3.7875)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8915 #601589
analogous
#788915 #3E8915 #158926
triadic
#3E8915 #153E89 #89153E
tetradic
#3E8915 #157889 #601589 #892615
square
#3E8915 #157889 #601589 #892615
split-complementary
#3E8915 #261589 #891578
monochromatic
#0E1F05 #26540D #3E8915 #56BE1D #73E038

Accessibility & contrast

On white

4.38
#3E8915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#3E8915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E8915
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8915#FFFFFF#000000##000000
##3E89151.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7C00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#388474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3e8915;
/* rgb */ color: rgb(62, 137, 21);
/* oklch */ color: oklch(56.0% 0.162 137.6);
Tailwind
colors: {
  custom: {
    50: '#7cac5f',
    500: '#3e8915',
    950: '#000000',
  },
}
SCSS
$custom: #3e8915;
$custom-light: #7cac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8915",
  "rgb": {
    "r": 62,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 98.793,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56032,
    "c": 0.16203,
    "h": 137.6
  },
  "luminance": 0.1897
}

Semantic roles & 50–950 ramp

primary
#3E8915
secondary
#903DBD
accent
#38F0AF
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3E8915

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

Preview Lab → · Contrast checker → · Palette generator →

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