#3B7019#3B7019

#3B7019 is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 49.0% C 0.130 H 136.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#3B7019
RGBrgb(59, 112, 25)
HSLhsl(97, 64%, 27%)
HSVhsv(97, 78%, 44%)
CMYKcmyk(47.3%, 0%, 77.7%, 56.1%)
CIE-LABlab(42.14, -33.55, 40.24)
CIE-LCHlch(42.14, 52.39, 129.83°)
OKLaboklab(49% -0.0934 0.0903)
OKLCHoklch(49% 0.13 136)
XYZxyz(7.7731, 12.5879, 2.9396)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7019 #4E1970
analogous
#677019 #3B7019 #197023
triadic
#3B7019 #193B70 #70193B
tetradic
#3B7019 #196770 #4E1970 #702319
square
#3B7019 #196770 #4E1970 #702319
split-complementary
#3B7019 #231970 #701967
monochromatic
#0D1906 #213E0E #3B7019 #55A224 #70D132

Accessibility & contrast

On white

5.97
#3B7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#3B7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7019
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7019#FFFFFF#000000##FFFFFF
##3B70191.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746607
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#396C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3b7019;
/* rgb */ color: rgb(59, 112, 25);
/* oklch */ color: oklch(49.0% 0.130 136.0);
Tailwind
colors: {
  custom: {
    50: '#76995c',
    500: '#3b7019',
    950: '#000000',
  },
}
SCSS
$custom: #3b7019;
$custom-light: #76995c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7019",
  "rgb": {
    "r": 59,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 96.552,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48997,
    "c": 0.12993,
    "h": 136
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#3B7019
secondary
#7E40A5
accent
#41E7A6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7019

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

Preview Lab → · Contrast checker → · Palette generator →

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