#3E8F12#3E8F12

#3E8F12 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.7% C 0.170 H 137.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#3E8F12
RGBrgb(62, 143, 18)
HSLhsl(99, 78%, 32%)
HSVhsv(99, 87%, 56%)
CMYKcmyk(56.6%, 0%, 87.4%, 43.9%)
CIE-LABlab(52.63, -45.57, 52.17)
CIE-LCHlch(52.63, 69.27, 131.14°)
OKLaboklab(57.66% -0.1263 0.1142)
OKLCHoklch(57.66% 0.17 137.9)
XYZxyz(11.9178, 20.7118, 3.9419)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8F12 #63128F
analogous
#7D8F12 #3E8F12 #128F25
triadic
#3E8F12 #123E8F #8F123E
tetradic
#3E8F12 #127D8F #63128F #8F2512
square
#3E8F12 #127D8F #63128F #8F2512
split-complementary
#3E8F12 #25128F #8F127D
monochromatic
#0F2204 #26590B #3E8F12 #56C519 #74E636

Accessibility & contrast

On white

4.08
#3E8F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#3E8F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E8F12
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8F12#FFFFFF#000000##000000
##3E8F121.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#378A79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3e8f12;
/* rgb */ color: rgb(62, 143, 18);
/* oklch */ color: oklch(57.7% 0.170 137.9);
Tailwind
colors: {
  custom: {
    50: '#7db05e',
    500: '#3e8f12',
    950: '#000000',
  },
}
SCSS
$custom: #3e8f12;
$custom-light: #7db05e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8f12",
  "rgb": {
    "r": 62,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 98.88,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57664,
    "c": 0.17028,
    "h": 137.9
  },
  "luminance": 0.20713
}

Semantic roles & 50–950 ramp

primary
#3E8F12
secondary
#933AC3
accent
#34F4B0
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1105
muted
#7C8079

Preview Lab

Preview with #3E8F12

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

Preview Lab → · Contrast checker → · Palette generator →

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