#3A6412#3A6412

#3A6412 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.5% C 0.119 H 133.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#3A6412
RGBrgb(58, 100, 18)
HSLhsl(91, 69%, 23%)
HSVhsv(91, 82%, 39%)
CMYKcmyk(42%, 0%, 82%, 60.8%)
CIE-LABlab(37.94, -28.99, 38.74)
CIE-LCHlch(37.94, 48.38, 126.81°)
OKLaboklab(45.53% -0.0816 0.086)
OKLCHoklch(45.53% 0.119 133.5)
XYZxyz(6.4112, 10.0572, 2.1756)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6412 #3C1264
analogous
#636412 #3A6412 #126413
triadic
#3A6412 #123A64 #64123A
tetradic
#3A6412 #126364 #3C1264 #641312
square
#3A6412 #126364 #3C1264 #641312
split-complementary
#3A6412 #131264 #641263
monochromatic
#0F1A05 #1C3009 #3A6412 #58981B #76CC25

Accessibility & contrast

On white

6.97
#3A6412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3A6412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6412
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6412#FFFFFF#000000##FFFFFF
##3A64121.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#63581B
Tritanopia (blue-blind)
#3A6055
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a6412;
/* rgb */ color: rgb(58, 100, 18);
/* oklch */ color: oklch(45.5% 0.119 133.5);
Tailwind
colors: {
  custom: {
    50: '#759057',
    500: '#3a6412',
    950: '#000000',
  },
}
SCSS
$custom: #3a6412;
$custom-light: #759057;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6412",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 90.732,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45534,
    "c": 0.11855,
    "h": 133.5
  },
  "luminance": 0.10058
}

Semantic roles & 50–950 ramp

primary
#3A6412
secondary
#6A369C
accent
#3BEC96
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3A6412

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

Preview Lab → · Contrast checker → · Palette generator →

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