#3A4E0C#3A4E0C

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

Color values

HEX#3A4E0C
RGBrgb(58, 78, 12)
HSLhsl(78, 73%, 18%)
HSVhsv(78, 85%, 31%)
CMYKcmyk(25.6%, 0%, 84.6%, 69.4%)
CIE-LABlab(30.34, -18.38, 33.73)
CIE-LCHlch(30.34, 38.41, 118.59°)
OKLaboklab(39.32% -0.0533 0.0744)
OKLCHoklch(39.32% 0.092 125.6)
XYZxyz(4.5357, 6.3748, 1.3393)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E0C #200C4E
analogous
#4E410C #3A4E0C #194E0C
triadic
#3A4E0C #0C3A4E #4E0C3A
tetradic
#3A4E0C #0C4E41 #200C4E #4E0C19
square
#3A4E0C #0C4E41 #200C4E #4E0C19
split-complementary
#3A4E0C #0C194E #410C4E
monochromatic
#141B04 #141B04 #3A4E0C #618314 #89B81C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A4E0C#FFFFFF#000000##FFFFFF
##3A4E0C1.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)
#534800
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#3D4A42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a4e0c;
/* rgb */ color: rgb(58, 78, 12);
/* oklch */ color: oklch(39.3% 0.092 125.6);
Tailwind
colors: {
  custom: {
    50: '#737f51',
    500: '#3a4e0c',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e0c;
$custom-light: #737f51;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e0c",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 78.182,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.39325,
    "c": 0.09156,
    "h": 125.6
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

primary
#3A4E0C
secondary
#492C8A
accent
#38F070
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #3A4E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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