#3B7D18#3B7D18

#3B7D18 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.6% C 0.147 H 137.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3B7D18
RGBrgb(59, 125, 24)
HSLhsl(99, 68%, 29%)
HSVhsv(99, 81%, 49%)
CMYKcmyk(52.8%, 0%, 80.8%, 51%)
CIE-LABlab(46.53, -39.10, 44.85)
CIE-LCHlch(46.53, 59.50, 131.09°)
OKLaboklab(52.61% -0.1085 0.0998)
OKLCHoklch(52.61% 0.147 137.4)
XYZxyz(9.3018, 15.6623, 3.3969)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7D18 #5A187D
analogous
#6E7D18 #3B7D18 #187D28
triadic
#3B7D18 #183B7D #7D183B
tetradic
#3B7D18 #186E7D #5A187D #7D2818
square
#3B7D18 #186E7D #5A187D #7D2818
split-complementary
#3B7D18 #28187D #7D186E
monochromatic
#0C1A05 #234A0E #3B7D18 #53B022 #6FD937

Accessibility & contrast

On white

5.08
#3B7D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#3B7D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7D18
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7D18#FFFFFF#000000##FFFFFF
##3B7D181.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#36786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3b7d18;
/* rgb */ color: rgb(59, 125, 24);
/* oklch */ color: oklch(52.6% 0.147 137.4);
Tailwind
colors: {
  custom: {
    50: '#78a35e',
    500: '#3b7d18',
    950: '#000000',
  },
}
SCSS
$custom: #3b7d18;
$custom-light: #78a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7d18",
  "rgb": {
    "r": 59,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 99.208,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52607,
    "c": 0.14736,
    "h": 137.4
  },
  "luminance": 0.15663
}

Semantic roles & 50–950 ramp

primary
#3B7D18
secondary
#8A3FB2
accent
#3DEBAF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3B7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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