#3B8A13#3B8A13

#3B8A13 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.2% C 0.165 H 138.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3B8A13
RGBrgb(59, 138, 19)
HSLhsl(100, 76%, 31%)
HSVhsv(100, 86%, 54%)
CMYKcmyk(57.2%, 0%, 86.2%, 45.9%)
CIE-LABlab(50.87, -44.48, 50.31)
CIE-LCHlch(50.87, 67.16, 131.48°)
OKLaboklab(56.18% -0.1232 0.1105)
OKLCHoklch(56.18% 0.165 138.1)
XYZxyz(11.0093, 19.1529, 3.7327)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8A13 #62138A
analogous
#768A13 #3B8A13 #138A26
triadic
#3B8A13 #133B8A #8A133B
tetradic
#3B8A13 #13768A #62138A #8A2613
square
#3B8A13 #13768A #62138A #8A2613
split-complementary
#3B8A13 #26138A #8A1376
monochromatic
#0D1E04 #24540C #3B8A13 #52C01A #6FE334

Accessibility & contrast

On white

4.35
#3B8A13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#3B8A13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B8A13
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B8A13#FFFFFF#000000##000000
##3B8A131.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#348575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3b8a13;
/* rgb */ color: rgb(59, 138, 19);
/* oklch */ color: oklch(56.2% 0.165 138.1);
Tailwind
colors: {
  custom: {
    50: '#7bad5e',
    500: '#3b8a13',
    950: '#000000',
  },
}
SCSS
$custom: #3b8a13;
$custom-light: #7bad5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8a13",
  "rgb": {
    "r": 59,
    "g": 138,
    "b": 19
  },
  "hsl": {
    "h": 99.832,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56176,
    "c": 0.16545,
    "h": 138.1
  },
  "luminance": 0.19154
}

Semantic roles & 50–950 ramp

primary
#3B8A13
secondary
#923ABE
accent
#35F2B3
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3B8A13

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

Preview Lab → · Contrast checker → · Palette generator →

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