#3A4D0C#3A4D0C

#3A4D0C is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 39.0% C 0.090 H 125.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#3A4D0C
RGBrgb(58, 77, 12)
HSLhsl(78, 73%, 17%)
HSVhsv(78, 84%, 30%)
CMYKcmyk(24.7%, 0%, 84.4%, 69.8%)
CIE-LABlab(29.99, -17.84, 33.41)
CIE-LCHlch(29.99, 37.87, 118.10°)
OKLaboklab(39.05% -0.0518 0.0738)
OKLCHoklch(39.05% 0.09 125.1)
XYZxyz(4.4652, 6.2338, 1.3158)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4D0C #1F0C4D
analogous
#4D3F0C #3A4D0C #1A4D0C
triadic
#3A4D0C #0C3A4D #4D0C3A
tetradic
#3A4D0C #0C4D3F #1F0C4D #4D0C1A
square
#3A4D0C #0C4D3F #1F0C4D #4D0C1A
split-complementary
#3A4D0C #0C1A4D #3F0C4D
monochromatic
#141A04 #141A04 #3A4D0C #628214 #8AB71D

Accessibility & contrast

On white

9.35
#3A4D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4D0C
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4D0C#FFFFFF#000000##FFFFFF
##3A4D0C1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a4d0c;
/* rgb */ color: rgb(58, 77, 12);
/* oklch */ color: oklch(39.0% 0.090 125.1);
Tailwind
colors: {
  custom: {
    50: '#737e51',
    500: '#3a4d0c',
    950: '#000000',
  },
}
SCSS
$custom: #3a4d0c;
$custom-light: #737e51;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4d0c",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 12
  },
  "hsl": {
    "h": 77.538,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.39046,
    "c": 0.09015,
    "h": 125.1
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#3A4D0C
secondary
#472C89
accent
#38F06E
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #3A4D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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