#3A550F#3A550F

#3A550F is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.3% C 0.100 H 128.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3A550F
RGBrgb(58, 85, 15)
HSLhsl(83, 70%, 20%)
HSVhsv(83, 82%, 33%)
CMYKcmyk(31.8%, 0%, 82.4%, 66.7%)
CIE-LABlab(32.77, -21.87, 34.91)
CIE-LCHlch(32.77, 41.19, 122.07°)
OKLaboklab(41.3% -0.0626 0.0775)
OKLCHoklch(41.3% 0.1 128.9)
XYZxyz(5.0796, 7.4309, 1.6185)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A550F #2A0F55
analogous
#554D0F #3A550F #17550F
triadic
#3A550F #0F3A55 #550F3A
tetradic
#3A550F #0F554D #2A0F55 #550F17
square
#3A550F #0F554D #2A0F55 #550F17
split-complementary
#3A550F #0F1755 #4D0F55
monochromatic
#121A05 #172106 #3A550F #5D8918 #81BD21

Accessibility & contrast

On white

8.45
#3A550F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3A550F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A550F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A550F#FFFFFF#000000##FFFFFF
##3A550F1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E02
Deuteranopia (green-blind)
#564C16
Tritanopia (blue-blind)
#3C5148
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a550f;
/* rgb */ color: rgb(58, 85, 15);
/* oklch */ color: oklch(41.3% 0.100 128.9);
Tailwind
colors: {
  custom: {
    50: '#738554',
    500: '#3a550f',
    950: '#000000',
  },
}
SCSS
$custom: #3a550f;
$custom-light: #738554;
$custom-dark: #000000;
JSON
{
  "hex": "#3a550f",
  "rgb": {
    "r": 58,
    "g": 85,
    "b": 15
  },
  "hsl": {
    "h": 83.143,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41304,
    "c": 0.09957,
    "h": 128.9
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#3A550F
secondary
#55318F
accent
#3BED80
background
#F7F8F5
surface
#EDEFE8
border
#C8CAC4
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A550F

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

Preview Lab → · Contrast checker → · Palette generator →

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