#3A5310#3A5310

#3A5310 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.8% C 0.096 H 128.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3A5310
RGBrgb(58, 83, 16)
HSLhsl(82, 68%, 19%)
HSVhsv(82, 81%, 33%)
CMYKcmyk(30.1%, 0%, 80.7%, 67.5%)
CIE-LABlab(32.09, -20.78, 33.87)
CIE-LCHlch(32.09, 39.73, 121.53°)
OKLaboklab(40.75% -0.0595 0.0755)
OKLCHoklch(40.75% 0.096 128.3)
XYZxyz(4.9317, 7.1233, 1.6052)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5310 #291053
analogous
#534B10 #3A5310 #195310
triadic
#3A5310 #103A53 #53103A
tetradic
#3A5310 #10534B #291053 #531019
square
#3A5310 #10534B #291053 #531019
split-complementary
#3A5310 #101953 #4B1053
monochromatic
#121A05 #162006 #3A5310 #5E861A #82BA24

Accessibility & contrast

On white

8.66
#3A5310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3A5310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5310
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5310#FFFFFF#000000##FFFFFF
##3A53101.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D04
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#3C4F46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a5310;
/* rgb */ color: rgb(58, 83, 16);
/* oklch */ color: oklch(40.8% 0.096 128.3);
Tailwind
colors: {
  custom: {
    50: '#738354',
    500: '#3a5310',
    950: '#000000',
  },
}
SCSS
$custom: #3a5310;
$custom-light: #738354;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5310",
  "rgb": {
    "r": 58,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 82.388,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40751,
    "c": 0.0961,
    "h": 128.3
  },
  "luminance": 0.07123
}

Semantic roles & 50–950 ramp

primary
#3A5310
secondary
#54328D
accent
#3DEB7E
background
#F7F8F5
surface
#EDEFE8
border
#C8CAC4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A5310

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

Preview Lab → · Contrast checker → · Palette generator →

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