#3A6B16#3A6B16

#3A6B16 is a mid, vivid yellow-green. Relative luminance 0.115; OKLCH L 47.5% C 0.126 H 135.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#3A6B16
RGBrgb(58, 107, 22)
HSLhsl(95, 66%, 25%)
HSVhsv(95, 79%, 42%)
CMYKcmyk(45.8%, 0%, 79.4%, 58%)
CIE-LABlab(40.37, -31.91, 39.61)
CIE-LCHlch(40.37, 50.87, 128.85°)
OKLaboklab(47.53% -0.0892 0.0885)
OKLCHoklch(47.53% 0.126 135.2)
XYZxyz(7.1473, 11.4724, 2.5967)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6B16 #47166B
analogous
#646B16 #3A6B16 #166B1C
triadic
#3A6B16 #163A6B #6B163A
tetradic
#3A6B16 #16646B #47166B #6B1C16
square
#3A6B16 #16646B #47166B #6B1C16
split-complementary
#3A6B16 #1C166B #6B1664
monochromatic
#0E1905 #1E380C #3A6B16 #569E20 #71D12B

Accessibility & contrast

On white

6.37
#3A6B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#3A6B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6B16
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6B16#FFFFFF#000000##FFFFFF
##3A6B161.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6204
Deuteranopia (green-blind)
#695E1F
Tritanopia (blue-blind)
#39675B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a6b16;
/* rgb */ color: rgb(58, 107, 22);
/* oklch */ color: oklch(47.5% 0.126 135.2);
Tailwind
colors: {
  custom: {
    50: '#75965a',
    500: '#3a6b16',
    950: '#000000',
  },
}
SCSS
$custom: #3a6b16;
$custom-light: #75965a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6b16",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 94.588,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47525,
    "c": 0.12563,
    "h": 135.2
  },
  "luminance": 0.11473
}

Semantic roles & 50–950 ramp

primary
#3A6B16
secondary
#763BA1
accent
#3FE9A1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3A6B16

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

Preview Lab → · Contrast checker → · Palette generator →

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