#3A5910#3A5910

#3A5910 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.4% C 0.105 H 130.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3A5910
RGBrgb(58, 89, 16)
HSLhsl(85, 70%, 21%)
HSVhsv(85, 82%, 35%)
CMYKcmyk(34.8%, 0%, 82%, 65.1%)
CIE-LABlab(34.15, -23.83, 35.85)
CIE-LCHlch(34.15, 43.05, 123.61°)
OKLaboklab(42.43% -0.0678 0.0796)
OKLCHoklch(42.43% 0.105 130.4)
XYZxyz(5.4108, 8.0815, 1.7649)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5910 #2F1059
analogous
#595310 #3A5910 #165910
triadic
#3A5910 #103A59 #59103A
tetradic
#3A5910 #105953 #2F1059 #591016
square
#3A5910 #105953 #2F1059 #591016
split-complementary
#3A5910 #101659 #531059
monochromatic
#111A05 #182507 #3A5910 #5C8D19 #7EC123

Accessibility & contrast

On white

8.03
#3A5910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3A5910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5910
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5910#FFFFFF#000000##FFFFFF
##3A59101.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5202
Deuteranopia (green-blind)
#595017
Tritanopia (blue-blind)
#3C554B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a5910;
/* rgb */ color: rgb(58, 89, 16);
/* oklch */ color: oklch(42.4% 0.105 130.4);
Tailwind
colors: {
  custom: {
    50: '#738855',
    500: '#3a5910',
    950: '#000000',
  },
}
SCSS
$custom: #3a5910;
$custom-light: #738855;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5910",
  "rgb": {
    "r": 58,
    "g": 89,
    "b": 16
  },
  "hsl": {
    "h": 85.479,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42432,
    "c": 0.10457,
    "h": 130.4
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#3A5910
secondary
#5B3392
accent
#3BEC87
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5910

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

Preview Lab → · Contrast checker → · Palette generator →

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