#3A4D0F#3A4D0F

#3A4D0F is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 39.1% C 0.088 H 125.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3A4D0F
RGBrgb(58, 77, 15)
HSLhsl(78, 67%, 18%)
HSVhsv(78, 81%, 30%)
CMYKcmyk(24.7%, 0%, 80.5%, 69.8%)
CIE-LABlab(30.01, -17.66, 32.25)
CIE-LCHlch(30.01, 36.77, 118.69°)
OKLaboklab(39.07% -0.0511 0.0719)
OKLCHoklch(39.07% 0.088 125.4)
XYZxyz(4.4851, 6.2417, 1.4203)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4D0F #220F4D
analogous
#4D410F #3A4D0F #1B4D0F
triadic
#3A4D0F #0F3A4D #4D0F3A
tetradic
#3A4D0F #0F4D41 #220F4D #4D0F1B
square
#3A4D0F #0F4D41 #220F4D #4D0F1B
split-complementary
#3A4D0F #0F1B4D #410F4D
monochromatic
#131A05 #131A05 #3A4D0F #618019 #87B323

Accessibility & contrast

On white

9.34
#3A4D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3A4D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4D0F
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4D0F#FFFFFF#000000##FFFFFF
##3A4D0F1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524704
Deuteranopia (green-blind)
#4F4615
Tritanopia (blue-blind)
#3D4941
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a4d0f;
/* rgb */ color: rgb(58, 77, 15);
/* oklch */ color: oklch(39.1% 0.088 125.4);
Tailwind
colors: {
  custom: {
    50: '#737e52',
    500: '#3a4d0f',
    950: '#000000',
  },
}
SCSS
$custom: #3a4d0f;
$custom-light: #737e52;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4d0f",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 78.387,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.39068,
    "c": 0.08818,
    "h": 125.4
  },
  "luminance": 0.06242
}

Semantic roles & 50–950 ramp

primary
#3A4D0F
secondary
#4B3187
accent
#3EEA72
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #3A4D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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