#3A6214#3A6214

#3A6214 is a dark, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.0% C 0.115 H 133.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#3A6214
RGBrgb(58, 98, 20)
HSLhsl(91, 66%, 23%)
HSVhsv(91, 80%, 38%)
CMYKcmyk(40.8%, 0%, 79.6%, 61.6%)
CIE-LABlab(37.27, -27.92, 37.35)
CIE-LCHlch(37.27, 46.64, 126.78°)
OKLaboklab(44.99% -0.0785 0.0835)
OKLCHoklch(44.99% 0.115 133.3)
XYZxyz(6.2388, 9.6851, 2.2024)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6214 #3C1462
analogous
#616214 #3A6214 #146215
triadic
#3A6214 #143A62 #62143A
tetradic
#3A6214 #146162 #3C1462 #621514
square
#3A6214 #146162 #3C1462 #621514
split-complementary
#3A6214 #151462 #621461
monochromatic
#0F1905 #1C2F0A #3A6214 #58951E #76C829

Accessibility & contrast

On white

7.15
#3A6214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3A6214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A6214
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6214#FFFFFF#000000##FFFFFF
##3A62141.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A04
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#3A5E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a6214;
/* rgb */ color: rgb(58, 98, 20);
/* oklch */ color: oklch(45.0% 0.115 133.3);
Tailwind
colors: {
  custom: {
    50: '#748f58',
    500: '#3a6214',
    950: '#000000',
  },
}
SCSS
$custom: #3a6214;
$custom-light: #748f58;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6214",
  "rgb": {
    "r": 58,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 90.769,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44987,
    "c": 0.1146,
    "h": 133.3
  },
  "luminance": 0.09685
}

Semantic roles & 50–950 ramp

primary
#3A6214
secondary
#6A3899
accent
#3FE996
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A6214

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

Preview Lab → · Contrast checker → · Palette generator →

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