#3B7A18#3B7A18

#3B7A18 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.8% C 0.144 H 137.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#3B7A18
RGBrgb(59, 122, 24)
HSLhsl(99, 67%, 29%)
HSVhsv(99, 80%, 48%)
CMYKcmyk(51.6%, 0%, 80.3%, 52.2%)
CIE-LABlab(45.52, -37.87, 43.88)
CIE-LCHlch(45.52, 57.96, 130.80°)
OKLaboklab(51.77% -0.1051 0.0977)
OKLCHoklch(51.77% 0.144 137.1)
XYZxyz(8.9278, 14.9142, 3.2723)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7A18 #57187A
analogous
#6C7A18 #3B7A18 #187A26
triadic
#3B7A18 #183B7A #7A183B
tetradic
#3B7A18 #186C7A #57187A #7A2618
square
#3B7A18 #186C7A #57187A #7A2618
split-complementary
#3B7A18 #26187A #7A186C
monochromatic
#0C1A05 #22470E #3B7A18 #54AD22 #6FD735

Accessibility & contrast

On white

5.27
#3B7A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#3B7A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7A18
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7A18#FFFFFF#000000##FFFFFF
##3B7A181.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#377568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3b7a18;
/* rgb */ color: rgb(59, 122, 24);
/* oklch */ color: oklch(51.8% 0.144 137.1);
Tailwind
colors: {
  custom: {
    50: '#78a15d',
    500: '#3b7a18',
    950: '#000000',
  },
}
SCSS
$custom: #3b7a18;
$custom-light: #78a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7a18",
  "rgb": {
    "r": 59,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 98.571,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51774,
    "c": 0.14356,
    "h": 137.1
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#3B7A18
secondary
#873FAF
accent
#3EEAAD
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #3B7A18

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

Preview Lab → · Contrast checker → · Palette generator →

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