#3E8319#3E8319

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

Color values

HEX#3E8319
RGBrgb(62, 131, 25)
HSLhsl(99, 68%, 31%)
HSVhsv(99, 81%, 51%)
CMYKcmyk(52.7%, 0%, 80.9%, 48.6%)
CIE-LABlab(48.67, -40.53, 46.59)
CIE-LCHlch(48.67, 61.75, 131.02°)
OKLaboklab(54.41% -0.1124 0.1035)
OKLCHoklch(54.41% 0.153 137.4)
XYZxyz(10.2780, 17.3262, 3.7222)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8319 #5E1983
analogous
#738319 #3E8319 #198329
triadic
#3E8319 #193E83 #83193E
tetradic
#3E8319 #197383 #5E1983 #832919
square
#3E8319 #197383 #5E1983 #832919
split-complementary
#3E8319 #291983 #831973
monochromatic
#0D1C05 #26500F #3E8319 #56B623 #73DA3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E8319#FFFFFF#000000##FFFFFF
##3E83191.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)
#887700
Deuteranopia (green-blind)
#7F7125
Tritanopia (blue-blind)
#397E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3e8319;
/* rgb */ color: rgb(62, 131, 25);
/* oklch */ color: oklch(54.4% 0.153 137.4);
Tailwind
colors: {
  custom: {
    50: '#7ba85f',
    500: '#3e8319',
    950: '#000000',
  },
}
SCSS
$custom: #3e8319;
$custom-light: #7ba85f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8319",
  "rgb": {
    "r": 62,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 99.057,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54405,
    "c": 0.15283,
    "h": 137.4
  },
  "luminance": 0.17327
}

Semantic roles & 50–950 ramp

primary
#3E8319
secondary
#8E41B7
accent
#3DEBAE
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E8319

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

Preview Lab → · Contrast checker → · Palette generator →

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