#3A4B0D#3A4B0D

#3A4B0D is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.5% C 0.087 H 124.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#3A4B0D
RGBrgb(58, 75, 13)
HSLhsl(76, 70%, 17%)
HSVhsv(76, 83%, 29%)
CMYKcmyk(22.7%, 0%, 82.7%, 70.6%)
CIE-LABlab(29.31, -16.69, 32.38)
CIE-LCHlch(29.31, 36.43, 117.27°)
OKLaboklab(38.5% -0.0486 0.0718)
OKLCHoklch(38.5% 0.087 124.1)
XYZxyz(4.3337, 5.9607, 1.3029)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4B0D #1E0D4B
analogous
#4B3D0D #3A4B0D #1B4B0D
triadic
#3A4B0D #0D3A4B #4B0D3A
tetradic
#3A4B0D #0D4B3D #1E0D4B #4B0D1B
square
#3A4B0D #0D4B3D #1E0D4B #4B0D1B
split-complementary
#3A4B0D #0D1B4B #3D0D4B
monochromatic
#141A05 #141A05 #3A4B0D #627F16 #8BB31F

Accessibility & contrast

On white

9.58
#3A4B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3A4B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4B0D
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4B0D#FFFFFF#000000##FFFFFF
##3A4B0D1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504602
Deuteranopia (green-blind)
#4D4513
Tritanopia (blue-blind)
#3D473F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a4b0d;
/* rgb */ color: rgb(58, 75, 13);
/* oklch */ color: oklch(38.5% 0.087 124.1);
Tailwind
colors: {
  custom: {
    50: '#737d51',
    500: '#3a4b0d',
    950: '#000000',
  },
}
SCSS
$custom: #3a4b0d;
$custom-light: #737d51;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4b0d",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 13
  },
  "hsl": {
    "h": 76.452,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.38496,
    "c": 0.0867,
    "h": 124.1
  },
  "luminance": 0.05961
}

Semantic roles & 50–950 ramp

primary
#3A4B0D
secondary
#462E86
accent
#3BED6C
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A4B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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