#3A4E0D#3A4E0D

#3A4E0D is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.3% C 0.091 H 125.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#3A4E0D
RGBrgb(58, 78, 13)
HSLhsl(78, 71%, 18%)
HSVhsv(78, 83%, 31%)
CMYKcmyk(25.6%, 0%, 83.3%, 69.4%)
CIE-LABlab(30.35, -18.32, 33.36)
CIE-LCHlch(30.35, 38.06, 118.77°)
OKLaboklab(39.33% -0.0531 0.0738)
OKLCHoklch(39.33% 0.091 125.7)
XYZxyz(4.5420, 6.3773, 1.3723)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E0D #210D4E
analogous
#4E420D #3A4E0D #194E0D
triadic
#3A4E0D #0D3A4E #4E0D3A
tetradic
#3A4E0D #0D4E42 #210D4E #4E0D19
square
#3A4E0D #0D4E42 #210D4E #4E0D19
split-complementary
#3A4E0D #0D194E #420D4E
monochromatic
#141A04 #141A04 #3A4E0D #618216 #88B71E

Accessibility & contrast

On white

9.23
#3A4E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4E0D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E0D#FFFFFF#000000##FFFFFF
##3A4E0D1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534801
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#3D4A42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a4e0d;
/* rgb */ color: rgb(58, 78, 13);
/* oklch */ color: oklch(39.3% 0.091 125.7);
Tailwind
colors: {
  custom: {
    50: '#737f52',
    500: '#3a4e0d',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e0d;
$custom-light: #737f52;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e0d",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 13
  },
  "hsl": {
    "h": 78.462,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.39332,
    "c": 0.09093,
    "h": 125.7
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#3A4E0D
secondary
#4A2E89
accent
#3AEE71
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #3A4E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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