#3A4E15#3A4E15

#3A4E15 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.4% C 0.085 H 126.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#3A4E15
RGBrgb(58, 78, 21)
HSLhsl(81, 58%, 19%)
HSVhsv(81, 73%, 31%)
CMYKcmyk(25.6%, 0%, 73.1%, 69.4%)
CIE-LABlab(30.41, -17.75, 30.00)
CIE-LCHlch(30.41, 34.86, 120.61°)
OKLaboklab(39.4% -0.0507 0.0682)
OKLCHoklch(39.4% 0.085 126.6)
XYZxyz(4.6047, 6.4024, 1.7025)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E15 #29154E
analogous
#4E4615 #3A4E15 #1D4E15
triadic
#3A4E15 #153A4E #4E153A
tetradic
#3A4E15 #154E46 #29154E #4E151D
square
#3A4E15 #154E46 #29154E #4E151D
split-complementary
#3A4E15 #151D4E #46154E
monochromatic
#121806 #161E08 #3A4E15 #5E7E22 #82AE2F

Accessibility & contrast

On white

9.21
#3A4E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3A4E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E15
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E15#FFFFFF#000000##FFFFFF
##3A4E151.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480D
Deuteranopia (green-blind)
#50471A
Tritanopia (blue-blind)
#3D4A42
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a4e15;
/* rgb */ color: rgb(58, 78, 21);
/* oklch */ color: oklch(39.4% 0.085 126.6);
Tailwind
colors: {
  custom: {
    50: '#727f56',
    500: '#3a4e15',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e15;
$custom-light: #727f56;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e15",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 81.053,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.394,
    "c": 0.085,
    "h": 126.6
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#3A4E15
secondary
#543986
accent
#47E17D
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A4E15

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

Preview Lab → · Contrast checker → · Palette generator →

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