#3A4E0F#3A4E0F

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

Color values

HEX#3A4E0F
RGBrgb(58, 78, 15)
HSLhsl(79, 68%, 18%)
HSVhsv(79, 81%, 31%)
CMYKcmyk(25.6%, 0%, 80.8%, 69.4%)
CIE-LABlab(30.36, -18.20, 32.59)
CIE-LCHlch(30.36, 37.33, 119.18°)
OKLaboklab(39.35% -0.0525 0.0726)
OKLCHoklch(39.35% 0.09 125.9)
XYZxyz(4.5556, 6.3827, 1.4438)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E0F #230F4E
analogous
#4E420F #3A4E0F #1A4E0F
triadic
#3A4E0F #0F3A4E #4E0F3A
tetradic
#3A4E0F #0F4E42 #230F4E #4E0F1A
square
#3A4E0F #0F4E42 #230F4E #4E0F1A
split-complementary
#3A4E0F #0F1A4E #420F4E
monochromatic
#131A05 #141B05 #3A4E0F #608119 #86B523

Accessibility & contrast

On white

9.22
#3A4E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4E0F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E0F#FFFFFF#000000##FFFFFF
##3A4E0F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a4e0f;
/* rgb */ color: rgb(58, 78, 15);
/* oklch */ color: oklch(39.3% 0.090 125.9);
Tailwind
colors: {
  custom: {
    50: '#737f53',
    500: '#3a4e0f',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e0f;
$custom-light: #737f53;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e0f",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 79.048,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39346,
    "c": 0.08962,
    "h": 125.9
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#3A4E0F
secondary
#4C3188
accent
#3DEB74
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #3A4E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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