#3A530F#3A530F

#3A530F is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.7% C 0.097 H 128.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3A530F
RGBrgb(58, 83, 15)
HSLhsl(82, 69%, 19%)
HSVhsv(82, 82%, 33%)
CMYKcmyk(30.1%, 0%, 81.9%, 67.5%)
CIE-LABlab(32.08, -20.84, 34.25)
CIE-LCHlch(32.08, 40.09, 121.32°)
OKLaboklab(40.74% -0.0598 0.0761)
OKLCHoklch(40.74% 0.097 128.1)
XYZxyz(4.9244, 7.1204, 1.5668)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A530F #280F53
analogous
#534A0F #3A530F #18530F
triadic
#3A530F #0F3A53 #530F3A
tetradic
#3A530F #0F534A #280F53 #530F18
square
#3A530F #0F534A #280F53 #530F18
split-complementary
#3A530F #0F1853 #4A0F53
monochromatic
#121A05 #161F06 #3A530F #5E8718 #82BB22

Accessibility & contrast

On white

8.66
#3A530F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3A530F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A530F
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A530F#FFFFFF#000000##FFFFFF
##3A530F1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D02
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#3C4F46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a530f;
/* rgb */ color: rgb(58, 83, 15);
/* oklch */ color: oklch(40.7% 0.097 128.1);
Tailwind
colors: {
  custom: {
    50: '#738353',
    500: '#3a530f',
    950: '#000000',
  },
}
SCSS
$custom: #3a530f;
$custom-light: #738353;
$custom-dark: #000000;
JSON
{
  "hex": "#3a530f",
  "rgb": {
    "r": 58,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 82.059,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40743,
    "c": 0.09674,
    "h": 128.1
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#3A530F
secondary
#53318D
accent
#3CEC7D
background
#F7F8F4
surface
#EDEFE8
border
#C8CAC4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A530F

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

Preview Lab → · Contrast checker → · Palette generator →

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