#3A5110#3A5110

#3A5110 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.2% C 0.093 H 127.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#3A5110
RGBrgb(58, 81, 16)
HSLhsl(81, 67%, 19%)
HSVhsv(81, 80%, 32%)
CMYKcmyk(28.4%, 0%, 80.2%, 68.2%)
CIE-LABlab(31.40, -19.73, 33.20)
CIE-LCHlch(31.40, 38.62, 120.72°)
OKLaboklab(40.19% -0.0566 0.0741)
OKLCHoklch(40.19% 0.093 127.4)
XYZxyz(4.7809, 6.8217, 1.5550)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5110 #271051
analogous
#514810 #3A5110 #1A5110
triadic
#3A5110 #103A51 #51103A
tetradic
#3A5110 #105148 #271051 #51101A
square
#3A5110 #105148 #271051 #51101A
split-complementary
#3A5110 #101A51 #481051
monochromatic
#121A05 #151E06 #3A5110 #5F841A #83B724

Accessibility & contrast

On white

8.88
#3A5110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3A5110 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5110
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5110#FFFFFF#000000##FFFFFF
##3A51101.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B04
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#3C4D45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a5110;
/* rgb */ color: rgb(58, 81, 16);
/* oklch */ color: oklch(40.2% 0.093 127.4);
Tailwind
colors: {
  custom: {
    50: '#738253',
    500: '#3a5110',
    950: '#000000',
  },
}
SCSS
$custom: #3a5110;
$custom-light: #738253;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5110",
  "rgb": {
    "r": 58,
    "g": 81,
    "b": 16
  },
  "hsl": {
    "h": 81.231,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40192,
    "c": 0.09323,
    "h": 127.4
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#3A5110
secondary
#51328B
accent
#3EEA7B
background
#F7F7F4
surface
#EDEEE8
border
#C8C9C4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A5110

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

Preview Lab → · Contrast checker → · Palette generator →

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