#3B7F18#3B7F18

#3B7F18 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.2% C 0.150 H 137.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3B7F18
RGBrgb(59, 127, 24)
HSLhsl(100, 68%, 30%)
HSVhsv(100, 81%, 50%)
CMYKcmyk(53.5%, 0%, 81.1%, 50.2%)
CIE-LABlab(47.20, -39.91, 45.48)
CIE-LCHlch(47.20, 60.51, 131.27°)
OKLaboklab(53.16% -0.1106 0.1011)
OKLCHoklch(53.16% 0.15 137.6)
XYZxyz(9.5576, 16.1738, 3.4822)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7F18 #5C187F
analogous
#6F7F18 #3B7F18 #187F29
triadic
#3B7F18 #183B7F #7F183B
tetradic
#3B7F18 #186F7F #5C187F #7F2918
square
#3B7F18 #186F7F #5C187F #7F2918
split-complementary
#3B7F18 #29187F #7F186F
monochromatic
#0C1A05 #234C0E #3B7F18 #53B222 #6FD938

Accessibility & contrast

On white

4.96
#3B7F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3B7F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7F18
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7F18#FFFFFF#000000##FFFFFF
##3B7F181.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#367A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3b7f18;
/* rgb */ color: rgb(59, 127, 24);
/* oklch */ color: oklch(53.2% 0.150 137.6);
Tailwind
colors: {
  custom: {
    50: '#79a55e',
    500: '#3b7f18',
    950: '#000000',
  },
}
SCSS
$custom: #3b7f18;
$custom-light: #79a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7f18",
  "rgb": {
    "r": 59,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 99.612,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53161,
    "c": 0.14986,
    "h": 137.6
  },
  "luminance": 0.16174
}

Semantic roles & 50–950 ramp

primary
#3B7F18
secondary
#8C3FB3
accent
#3DEBB0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3B7F18

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

Preview Lab → · Contrast checker → · Palette generator →

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