#3A510E#3A510E

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

Color values

HEX#3A510E
RGBrgb(58, 81, 14)
HSLhsl(81, 71%, 19%)
HSVhsv(81, 83%, 32%)
CMYKcmyk(28.4%, 0%, 82.7%, 68.2%)
CIE-LABlab(31.38, -19.86, 33.97)
CIE-LCHlch(31.38, 39.35, 120.31°)
OKLaboklab(40.18% -0.0572 0.0753)
OKLCHoklch(40.18% 0.095 127.2)
XYZxyz(4.7666, 6.8160, 1.4799)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A510E #250E51
analogous
#51460E #3A510E #18510E
triadic
#3A510E #0E3A51 #510E3A
tetradic
#3A510E #0E5146 #250E51 #510E18
square
#3A510E #0E5146 #250E51 #510E18
split-complementary
#3A510E #0E1851 #460E51
monochromatic
#131A05 #151D05 #3A510E #5F8517 #85B920

Accessibility & contrast

On white

8.89
#3A510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A510E
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A510E#FFFFFF#000000##FFFFFF
##3A510E1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B02
Deuteranopia (green-blind)
#524915
Tritanopia (blue-blind)
#3D4D44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a510e;
/* rgb */ color: rgb(58, 81, 14);
/* oklch */ color: oklch(40.2% 0.095 127.2);
Tailwind
colors: {
  custom: {
    50: '#738252',
    500: '#3a510e',
    950: '#000000',
  },
}
SCSS
$custom: #3a510e;
$custom-light: #738252;
$custom-dark: #000000;
JSON
{
  "hex": "#3a510e",
  "rgb": {
    "r": 58,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 80.597,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.40177,
    "c": 0.09455,
    "h": 127.2
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#3A510E
secondary
#4F2F8C
accent
#3AED78
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #3A510E

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

Preview Lab → · Contrast checker → · Palette generator →

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