#3B7C12#3B7C12

#3B7C12 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.3% C 0.149 H 136.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#3B7C12
RGBrgb(59, 124, 18)
HSLhsl(97, 75%, 28%)
HSVhsv(97, 85%, 49%)
CMYKcmyk(52.4%, 0%, 85.5%, 51.4%)
CIE-LABlab(46.16, -39.03, 46.36)
CIE-LCHlch(46.16, 60.60, 130.10°)
OKLaboklab(52.3% -0.1086 0.102)
OKLCHoklch(52.3% 0.149 136.8)
XYZxyz(9.1202, 15.3881, 3.0618)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7C12 #53127C
analogous
#707C12 #3B7C12 #127C1E
triadic
#3B7C12 #123B7C #7C123B
tetradic
#3B7C12 #12707C #53127C #7C1E12
square
#3B7C12 #12707C #53127C #7C1E12
split-complementary
#3B7C12 #1E127C #7C1270
monochromatic
#0D1B04 #22470A #3B7C12 #54B11A #6FE029

Accessibility & contrast

On white

5.15
#3B7C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#3B7C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7C12
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7C12#FFFFFF#000000##FFFFFF
##3B7C121.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#786B1F
Tritanopia (blue-blind)
#377769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3b7c12;
/* rgb */ color: rgb(59, 124, 18);
/* oklch */ color: oklch(52.3% 0.149 136.8);
Tailwind
colors: {
  custom: {
    50: '#78a25b',
    500: '#3b7c12',
    950: '#000000',
  },
}
SCSS
$custom: #3b7c12;
$custom-light: #78a25b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7c12",
  "rgb": {
    "r": 59,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 96.792,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52295,
    "c": 0.14899,
    "h": 136.8
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#3B7C12
secondary
#8338B2
accent
#37F1A9
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3B7C12

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

Preview Lab → · Contrast checker → · Palette generator →

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