#3A4C0E#3A4C0E

#3A4C0E is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.8% C 0.087 H 124.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#3A4C0E
RGBrgb(58, 76, 14)
HSLhsl(77, 69%, 18%)
HSVhsv(77, 82%, 30%)
CMYKcmyk(23.7%, 0%, 81.6%, 70.2%)
CIE-LABlab(29.66, -17.18, 32.32)
CIE-LCHlch(29.66, 36.60, 117.99°)
OKLaboklab(38.78% -0.0498 0.0718)
OKLCHoklch(38.78% 0.087 124.8)
XYZxyz(4.4087, 6.1001, 1.3605)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4C0E #200E4C
analogous
#4C3F0E #3A4C0E #1B4C0E
triadic
#3A4C0E #0E3A4C #4C0E3A
tetradic
#3A4C0E #0E4C3F #200E4C #4C0E1B
square
#3A4C0E #0E4C3F #200E4C #4C0E1B
split-complementary
#3A4C0E #0E1B4C #3F0E4C
monochromatic
#141A05 #141A05 #3A4C0E #618018 #89B321

Accessibility & contrast

On white

9.46
#3A4C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3A4C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4C0E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4C0E#FFFFFF#000000##FFFFFF
##3A4C0E1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514603
Deuteranopia (green-blind)
#4E4614
Tritanopia (blue-blind)
#3D4840
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a4c0e;
/* rgb */ color: rgb(58, 76, 14);
/* oklch */ color: oklch(38.8% 0.087 124.8);
Tailwind
colors: {
  custom: {
    50: '#737e52',
    500: '#3a4c0e',
    950: '#000000',
  },
}
SCSS
$custom: #3a4c0e;
$custom-light: #737e52;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4c0e",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 14
  },
  "hsl": {
    "h": 77.419,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38782,
    "c": 0.08744,
    "h": 124.8
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#3A4C0E
secondary
#492F87
accent
#3CEC6F
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A4C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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