#3E7B19#3E7B19

#3E7B19 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.2% C 0.143 H 136.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3E7B19
RGBrgb(62, 123, 25)
HSLhsl(97, 66%, 29%)
HSVhsv(97, 80%, 48%)
CMYKcmyk(49.6%, 0%, 79.7%, 51.8%)
CIE-LABlab(45.99, -37.24, 44.03)
CIE-LCHlch(45.99, 57.67, 130.23°)
OKLaboklab(52.2% -0.1036 0.0982)
OKLCHoklch(52.2% 0.143 136.5)
XYZxyz(9.2448, 15.2596, 3.3778)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7B19 #56197B
analogous
#6F7B19 #3E7B19 #197B25
triadic
#3E7B19 #193E7B #7B193E
tetradic
#3E7B19 #196F7B #56197B #7B2519
square
#3E7B19 #196F7B #56197B #7B2519
split-complementary
#3E7B19 #25197B #7B196F
monochromatic
#0D1905 #24480F #3E7B19 #58AE23 #74D738

Accessibility & contrast

On white

5.18
#3E7B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#3E7B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7B19
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7B19#FFFFFF#000000##FFFFFF
##3E7B191.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7002
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#3B7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3e7b19;
/* rgb */ color: rgb(62, 123, 25);
/* oklch */ color: oklch(52.2% 0.143 136.5);
Tailwind
colors: {
  custom: {
    50: '#7aa25e',
    500: '#3e7b19',
    950: '#000000',
  },
}
SCSS
$custom: #3e7b19;
$custom-light: #7aa25e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7b19",
  "rgb": {
    "r": 62,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 97.347,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52199,
    "c": 0.14272,
    "h": 136.5
  },
  "luminance": 0.1526
}

Semantic roles & 50–950 ramp

primary
#3E7B19
secondary
#8640AF
accent
#3FE9A9
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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