#3B7918#3B7918

#3B7918 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.5% C 0.142 H 137.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#3B7918
RGBrgb(59, 121, 24)
HSLhsl(98, 67%, 28%)
HSVhsv(98, 80%, 47%)
CMYKcmyk(51.2%, 0%, 80.2%, 52.5%)
CIE-LABlab(45.18, -37.46, 43.56)
CIE-LCHlch(45.18, 57.45, 130.69°)
OKLaboklab(51.5% -0.104 0.0971)
OKLCHoklch(51.5% 0.142 137)
XYZxyz(8.8056, 14.6699, 3.2315)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7918 #561879
analogous
#6B7918 #3B7918 #187926
triadic
#3B7918 #183B79 #79183B
tetradic
#3B7918 #186B79 #561879 #792618
square
#3B7918 #186B79 #561879 #792618
split-complementary
#3B7918 #261879 #79186B
monochromatic
#0C1A05 #22460E #3B7918 #54AC22 #6FD735

Accessibility & contrast

On white

5.34
#3B7918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#3B7918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7918
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7918#FFFFFF#000000##FFFFFF
##3B79181.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#377467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3b7918;
/* rgb */ color: rgb(59, 121, 24);
/* oklch */ color: oklch(51.5% 0.142 137.0);
Tailwind
colors: {
  custom: {
    50: '#78a05d',
    500: '#3b7918',
    950: '#000000',
  },
}
SCSS
$custom: #3b7918;
$custom-light: #78a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7918",
  "rgb": {
    "r": 59,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 98.351,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51496,
    "c": 0.14228,
    "h": 137
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#3B7918
secondary
#863FAE
accent
#3EEAAC
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #3B7918

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

Preview Lab → · Contrast checker → · Palette generator →

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