#3A4A0E#3A4A0E

#3A4A0E is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.2% C 0.085 H 123.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#3A4A0E
RGBrgb(58, 74, 14)
HSLhsl(76, 68%, 17%)
HSVhsv(76, 81%, 29%)
CMYKcmyk(21.6%, 0%, 81.1%, 71%)
CIE-LABlab(28.98, -16.08, 31.66)
CIE-LCHlch(28.98, 35.50, 116.92°)
OKLaboklab(38.23% -0.0468 0.0705)
OKLCHoklch(38.23% 0.085 123.6)
XYZxyz(4.2730, 5.8288, 1.3153)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4A0E #1E0E4A
analogous
#4A3C0E #3A4A0E #1C4A0E
triadic
#3A4A0E #0E3A4A #4A0E3A
tetradic
#3A4A0E #0E4A3C #1E0E4A #4A0E1C
square
#3A4A0E #0E4A3C #1E0E4A #4A0E1C
split-complementary
#3A4A0E #0E1C4A #3C0E4A
monochromatic
#141A05 #141A05 #3A4A0E #627D18 #8BB121

Accessibility & contrast

On white

9.70
#3A4A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3A4A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4A0E
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4A0E#FFFFFF#000000##FFFFFF
##3A4A0E1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4504
Deuteranopia (green-blind)
#4D4413
Tritanopia (blue-blind)
#3D463E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a4a0e;
/* rgb */ color: rgb(58, 74, 14);
/* oklch */ color: oklch(38.2% 0.085 123.6);
Tailwind
colors: {
  custom: {
    50: '#727c51',
    500: '#3a4a0e',
    950: '#000000',
  },
}
SCSS
$custom: #3a4a0e;
$custom-light: #727c51;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4a0e",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 14
  },
  "hsl": {
    "h": 76,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.38226,
    "c": 0.0846,
    "h": 123.6
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

primary
#3A4A0E
secondary
#462F85
accent
#3DEB6B
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A4A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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