#3A4F0D#3A4F0D

#3A4F0D is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.6% C 0.092 H 126.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#3A4F0D
RGBrgb(58, 79, 13)
HSLhsl(79, 72%, 18%)
HSVhsv(79, 84%, 31%)
CMYKcmyk(26.6%, 0%, 83.5%, 69%)
CIE-LABlab(30.69, -18.86, 33.69)
CIE-LCHlch(30.69, 38.61, 119.24°)
OKLaboklab(39.61% -0.0545 0.0745)
OKLCHoklch(39.61% 0.092 126.2)
XYZxyz(4.6136, 6.5205, 1.3962)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4F0D #220D4F
analogous
#4F430D #3A4F0D #194F0D
triadic
#3A4F0D #0D3A4F #4F0D3A
tetradic
#3A4F0D #0D4F43 #220D4F #4F0D19
square
#3A4F0D #0D4F43 #220D4F #4F0D19
split-complementary
#3A4F0D #0D194F #430D4F
monochromatic
#131A04 #131A04 #3A4F0D #618416 #87B81E

Accessibility & contrast

On white

9.11
#3A4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3A4F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4F0D
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4F0D#FFFFFF#000000##FFFFFF
##3A4F0D1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544901
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#3D4B43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a4f0d;
/* rgb */ color: rgb(58, 79, 13);
/* oklch */ color: oklch(39.6% 0.092 126.2);
Tailwind
colors: {
  custom: {
    50: '#738052',
    500: '#3a4f0d',
    950: '#000000',
  },
}
SCSS
$custom: #3a4f0d;
$custom-light: #738052;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4f0d",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 79.091,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.39611,
    "c": 0.09235,
    "h": 126.2
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#3A4F0D
secondary
#4B2E8A
accent
#39EE73
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #3A4F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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