#3A4C0F#3A4C0F

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

Color values

HEX#3A4C0F
RGBrgb(58, 76, 15)
HSLhsl(78, 67%, 18%)
HSVhsv(78, 80%, 30%)
CMYKcmyk(23.7%, 0%, 80.3%, 70.2%)
CIE-LABlab(29.67, -17.11, 31.92)
CIE-LCHlch(29.67, 36.22, 118.20°)
OKLaboklab(38.79% -0.0496 0.0712)
OKLCHoklch(38.79% 0.087 124.9)
XYZxyz(4.4156, 6.1029, 1.3972)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4C0F #210F4C
analogous
#4C3F0F #3A4C0F #1B4C0F
triadic
#3A4C0F #0F3A4C #4C0F3A
tetradic
#3A4C0F #0F4C3F #210F4C #4C0F1B
square
#3A4C0F #0F4C3F #210F4C #4C0F1B
split-complementary
#3A4C0F #0F1B4C #3F0F4C
monochromatic
#141A05 #141A05 #3A4C0F #617F19 #88B223

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A4C0F#FFFFFF#000000##FFFFFF
##3A4C0F1.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)
#514705
Deuteranopia (green-blind)
#4E4614
Tritanopia (blue-blind)
#3D4840
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a4c0f;
/* rgb */ color: rgb(58, 76, 15);
/* oklch */ color: oklch(38.8% 0.087 124.9);
Tailwind
colors: {
  custom: {
    50: '#727e52',
    500: '#3a4c0f',
    950: '#000000',
  },
}
SCSS
$custom: #3a4c0f;
$custom-light: #727e52;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4c0f",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 77.705,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38789,
    "c": 0.08675,
    "h": 124.9
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#3A4C0F
secondary
#4A3186
accent
#3EEA71
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A4C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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