#3A500D#3A500D

#3A500D is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.9% C 0.094 H 126.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#3A500D
RGBrgb(58, 80, 13)
HSLhsl(80, 72%, 18%)
HSVhsv(80, 84%, 31%)
CMYKcmyk(27.5%, 0%, 83.7%, 68.6%)
CIE-LABlab(31.03, -19.39, 34.01)
CIE-LCHlch(31.03, 39.15, 119.68°)
OKLaboklab(39.89% -0.056 0.0752)
OKLCHoklch(39.89% 0.094 126.7)
XYZxyz(4.6863, 6.6658, 1.4204)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A500D #230D50
analogous
#50440D #3A500D #19500D
triadic
#3A500D #0D3A50 #500D3A
tetradic
#3A500D #0D5044 #230D50 #500D19
square
#3A500D #0D5044 #230D50 #500D19
split-complementary
#3A500D #0D1950 #440D50
monochromatic
#131A04 #141B04 #3A500D #608516 #86B91E

Accessibility & contrast

On white

9.00
#3A500D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3A500D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A500D
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A500D#FFFFFF#000000##FFFFFF
##3A500D1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A01
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#3D4C43
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a500d;
/* rgb */ color: rgb(58, 80, 13);
/* oklch */ color: oklch(39.9% 0.094 126.7);
Tailwind
colors: {
  custom: {
    50: '#738152',
    500: '#3a500d',
    950: '#000000',
  },
}
SCSS
$custom: #3a500d;
$custom-light: #738152;
$custom-dark: #000000;
JSON
{
  "hex": "#3a500d",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 13
  },
  "hsl": {
    "h": 79.701,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3989,
    "c": 0.09376,
    "h": 126.7
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#3A500D
secondary
#4C2E8B
accent
#39EF75
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #3A500D

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

Preview Lab → · Contrast checker → · Palette generator →

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