#3A6213#3A6213

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

Color values

HEX#3A6213
RGBrgb(58, 98, 19)
HSLhsl(90, 68%, 23%)
HSVhsv(90, 81%, 38%)
CMYKcmyk(40.8%, 0%, 80.6%, 61.6%)
CIE-LABlab(37.26, -27.99, 37.72)
CIE-LCHlch(37.26, 46.97, 126.57°)
OKLaboklab(44.98% -0.0788 0.0841)
OKLCHoklch(44.98% 0.115 133.2)
XYZxyz(6.2301, 9.6816, 2.1564)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6213 #3B1362
analogous
#616213 #3A6213 #136214
triadic
#3A6213 #133A62 #62133A
tetradic
#3A6213 #136162 #3B1362 #621413
square
#3A6213 #136162 #3B1362 #621413
split-complementary
#3A6213 #141362 #621361
monochromatic
#0F1A05 #1C2F09 #3A6213 #58951D #77C927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A6213#FFFFFF#000000##FFFFFF
##3A62131.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)
#665A03
Deuteranopia (green-blind)
#61571B
Tritanopia (blue-blind)
#3A5E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a6213;
/* rgb */ color: rgb(58, 98, 19);
/* oklch */ color: oklch(45.0% 0.115 133.2);
Tailwind
colors: {
  custom: {
    50: '#748f57',
    500: '#3a6213',
    950: '#000000',
  },
}
SCSS
$custom: #3a6213;
$custom-light: #748f57;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6213",
  "rgb": {
    "r": 58,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 90.38,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4498,
    "c": 0.11523,
    "h": 133.2
  },
  "luminance": 0.09682
}

Semantic roles & 50–950 ramp

primary
#3A6213
secondary
#69379A
accent
#3DEA95
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3A6213

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

Preview Lab → · Contrast checker → · Palette generator →

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