#3E7B18#3E7B18

#3E7B18 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#3E7B18
RGBrgb(62, 123, 24)
HSLhsl(97, 67%, 29%)
HSVhsv(97, 80%, 48%)
CMYKcmyk(49.6%, 0%, 80.5%, 51.8%)
CIE-LABlab(45.98, -37.31, 44.37)
CIE-LCHlch(45.98, 57.97, 130.06°)
OKLaboklab(52.19% -0.1038 0.0987)
OKLCHoklch(52.19% 0.143 136.5)
XYZxyz(9.2342, 15.2554, 3.3220)
Luminance0.1526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7B18 #55187B
analogous
#707B18 #3E7B18 #187B24
triadic
#3E7B18 #183E7B #7B183E
tetradic
#3E7B18 #18707B #55187B #7B2418
square
#3E7B18 #18707B #55187B #7B2418
split-complementary
#3E7B18 #24187B #7B1870
monochromatic
#0D1A05 #24480E #3E7B18 #58AE22 #74D836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E7B18#FFFFFF#000000##FFFFFF
##3E7B181.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)
#7F7000
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#3B7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3e7b18;
/* rgb */ color: rgb(62, 123, 24);
/* oklch */ color: oklch(52.2% 0.143 136.5);
Tailwind
colors: {
  custom: {
    50: '#7aa25e',
    500: '#3e7b18',
    950: '#000000',
  },
}
SCSS
$custom: #3e7b18;
$custom-light: #7aa25e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7b18",
  "rgb": {
    "r": 62,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 96.97,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52192,
    "c": 0.14327,
    "h": 136.5
  },
  "luminance": 0.15256
}

Semantic roles & 50–950 ramp

primary
#3E7B18
secondary
#843FB0
accent
#3EEAA8
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3E7B18

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

Preview Lab → · Contrast checker → · Palette generator →

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