#3A580F#3A580F

#3A580F is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.1% C 0.104 H 130.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3A580F
RGBrgb(58, 88, 15)
HSLhsl(85, 71%, 20%)
HSVhsv(85, 83%, 35%)
CMYKcmyk(34.1%, 0%, 83%, 65.5%)
CIE-LABlab(33.80, -23.39, 35.89)
CIE-LCHlch(33.80, 42.84, 123.10°)
OKLaboklab(42.15% -0.0667 0.0795)
OKLCHoklch(42.15% 0.104 130)
XYZxyz(5.3208, 7.9133, 1.6989)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A580F #2D0F58
analogous
#58520F #3A580F #15580F
triadic
#3A580F #0F3A58 #580F3A
tetradic
#3A580F #0F5852 #2D0F58 #580F15
square
#3A580F #0F5852 #2D0F58 #580F15
split-complementary
#3A580F #0F1558 #520F58
monochromatic
#111A04 #182406 #3A580F #5C8C18 #7FC121

Accessibility & contrast

On white

8.13
#3A580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3A580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A580F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A580F#FFFFFF#000000##FFFFFF
##3A580F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5101
Deuteranopia (green-blind)
#584F17
Tritanopia (blue-blind)
#3C544A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a580f;
/* rgb */ color: rgb(58, 88, 15);
/* oklch */ color: oklch(42.1% 0.104 130.0);
Tailwind
colors: {
  custom: {
    50: '#738754',
    500: '#3a580f',
    950: '#000000',
  },
}
SCSS
$custom: #3a580f;
$custom-light: #738754;
$custom-dark: #000000;
JSON
{
  "hex": "#3a580f",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 84.658,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42145,
    "c": 0.10378,
    "h": 130
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#3A580F
secondary
#593192
accent
#3AEE84
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A580F

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

Preview Lab → · Contrast checker → · Palette generator →

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