#3E8318#3E8318

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

Color values

HEX#3E8318
RGBrgb(62, 131, 24)
HSLhsl(99, 69%, 30%)
HSVhsv(99, 82%, 51%)
CMYKcmyk(52.7%, 0%, 81.7%, 48.6%)
CIE-LABlab(48.66, -40.59, 46.90)
CIE-LCHlch(48.66, 62.03, 130.87°)
OKLaboklab(54.4% -0.1127 0.104)
OKLCHoklch(54.4% 0.153 137.3)
XYZxyz(10.2674, 17.3219, 3.6664)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8318 #5D1883
analogous
#738318 #3E8318 #188328
triadic
#3E8318 #183E83 #83183E
tetradic
#3E8318 #187383 #5D1883 #832818
square
#3E8318 #187383 #5D1883 #832818
split-complementary
#3E8318 #281883 #831873
monochromatic
#0D1C05 #264F0F #3E8318 #56B721 #73DB3A

Accessibility & contrast

On white

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

On black

4.46
#3E8318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3E8318#FFFFFF#000000##FFFFFF
##3E83181.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e8318;
/* rgb */ color: rgb(62, 131, 24);
/* oklch */ color: oklch(54.4% 0.153 137.3);
Tailwind
colors: {
  custom: {
    50: '#7ba85f',
    500: '#3e8318',
    950: '#000000',
  },
}
SCSS
$custom: #3e8318;
$custom-light: #7ba85f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8318",
  "rgb": {
    "r": 62,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 98.692,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54399,
    "c": 0.15334,
    "h": 137.3
  },
  "luminance": 0.17323
}

Semantic roles & 50–950 ramp

primary
#3E8318
secondary
#8D40B7
accent
#3CECAD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E8318

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

Preview Lab → · Contrast checker → · Palette generator →

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