#3A5C0F#3A5C0F

#3A5C0F is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.3% C 0.109 H 131.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#3A5C0F
RGBrgb(58, 92, 15)
HSLhsl(86, 72%, 21%)
HSVhsv(86, 84%, 36%)
CMYKcmyk(37%, 0%, 83.7%, 63.9%)
CIE-LABlab(35.18, -25.37, 37.18)
CIE-LCHlch(35.18, 45.01, 124.30°)
OKLaboklab(43.27% -0.072 0.0822)
OKLCHoklch(43.27% 0.109 131.2)
XYZxyz(5.6582, 8.5881, 1.8114)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5C0F #310F5C
analogous
#5C570F #3A5C0F #135C0F
triadic
#3A5C0F #0F3A5C #5C0F3A
tetradic
#3A5C0F #0F5C57 #310F5C #5C0F13
square
#3A5C0F #0F5C57 #310F5C #5C0F13
split-complementary
#3A5C0F #0F135C #570F5C
monochromatic
#111A04 #192706 #3A5C0F #5B9118 #7CC520

Accessibility & contrast

On white

7.73
#3A5C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3A5C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5C0F
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5C0F#FFFFFF#000000##FFFFFF
##3A5C0F1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#3B584E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a5c0f;
/* rgb */ color: rgb(58, 92, 15);
/* oklch */ color: oklch(43.3% 0.109 131.2);
Tailwind
colors: {
  custom: {
    50: '#748a55',
    500: '#3a5c0f',
    950: '#000000',
  },
}
SCSS
$custom: #3a5c0f;
$custom-light: #748a55;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5c0f",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 15
  },
  "hsl": {
    "h": 86.494,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43268,
    "c": 0.10932,
    "h": 131.2
  },
  "luminance": 0.08588
}

Semantic roles & 50–950 ramp

primary
#3A5C0F
secondary
#5E3195
accent
#39EF89
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A5C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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