#3A4A0C#3A4A0C

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

Color values

HEX#3A4A0C
RGBrgb(58, 74, 12)
HSLhsl(75, 72%, 17%)
HSVhsv(75, 84%, 29%)
CMYKcmyk(21.6%, 0%, 83.8%, 71%)
CIE-LABlab(28.96, -16.20, 32.44)
CIE-LCHlch(28.96, 36.26, 116.54°)
OKLaboklab(38.21% -0.0474 0.0717)
OKLCHoklch(38.21% 0.086 123.4)
XYZxyz(4.2601, 5.8236, 1.2474)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4A0C #1C0C4A
analogous
#4A3B0C #3A4A0C #1B4A0C
triadic
#3A4A0C #0C3A4A #4A0C3A
tetradic
#3A4A0C #0C4A3B #1C0C4A #4A0C1B
square
#3A4A0C #0C4A3B #1C0C4A #4A0C1B
split-complementary
#3A4A0C #0C1B4A #3B0C4A
monochromatic
#151A04 #151A04 #3A4A0C #637F15 #8DB31D

Accessibility & contrast

On white

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

On black

2.16
#3A4A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3A4A0C#FFFFFF#000000##FFFFFF
##3A4A0C1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a4a0c;
/* rgb */ color: rgb(58, 74, 12);
/* oklch */ color: oklch(38.2% 0.086 123.4);
Tailwind
colors: {
  custom: {
    50: '#737c50',
    500: '#3a4a0c',
    950: '#000000',
  },
}
SCSS
$custom: #3a4a0c;
$custom-light: #737c50;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4a0c",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 12
  },
  "hsl": {
    "h": 75.484,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.38211,
    "c": 0.08594,
    "h": 123.4
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#3A4A0C
secondary
#432C86
accent
#39EF68
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A4A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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