#3A4F11#3A4F11

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

Color values

HEX#3A4F11
RGBrgb(58, 79, 17)
HSLhsl(80, 65%, 19%)
HSVhsv(80, 78%, 31%)
CMYKcmyk(26.6%, 0%, 78.5%, 69%)
CIE-LABlab(30.72, -18.60, 32.11)
CIE-LCHlch(30.72, 37.11, 120.08°)
OKLaboklab(39.64% -0.0535 0.072)
OKLCHoklch(39.64% 0.09 126.6)
XYZxyz(4.6421, 6.5319, 1.5464)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4F11 #26114F
analogous
#4F4511 #3A4F11 #1B4F11
triadic
#3A4F11 #113A4F #4F113A
tetradic
#3A4F11 #114F45 #26114F #4F111B
square
#3A4F11 #114F45 #26114F #4F111B
split-complementary
#3A4F11 #111B4F #45114F
monochromatic
#121905 #151D06 #3A4F11 #5F811C #84B427

Accessibility & contrast

On white

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

On black

2.31
#3A4F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3A4F11#FFFFFF#000000##FFFFFF
##3A4F111.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a4f11;
/* rgb */ color: rgb(58, 79, 17);
/* oklch */ color: oklch(39.6% 0.090 126.6);
Tailwind
colors: {
  custom: {
    50: '#738054',
    500: '#3a4f11',
    950: '#000000',
  },
}
SCSS
$custom: #3a4f11;
$custom-light: #738054;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4f11",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 80.323,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39641,
    "c": 0.08964,
    "h": 126.6
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

primary
#3A4F11
secondary
#503388
accent
#40E879
background
#F7F7F4
surface
#EDEEE8
border
#C8C9C4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A4F11

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

Preview Lab → · Contrast checker → · Palette generator →

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