#3A4B0B#3A4B0B

#3A4B0B is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.5% C 0.088 H 123.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#3A4B0B
RGBrgb(58, 75, 11)
HSLhsl(76, 74%, 17%)
HSVhsv(76, 85%, 29%)
CMYKcmyk(22.7%, 0%, 85.3%, 70.6%)
CIE-LABlab(29.30, -16.80, 33.13)
CIE-LCHlch(29.30, 37.14, 116.90°)
OKLaboklab(38.48% -0.0491 0.073)
OKLCHoklch(38.48% 0.088 123.9)
XYZxyz(4.3215, 5.9558, 1.2385)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4B0B #1C0B4B
analogous
#4B3C0B #3A4B0B #1A4B0B
triadic
#3A4B0B #0B3A4B #4B0B3A
tetradic
#3A4B0B #0B4B3C #1C0B4B #4B0B1A
square
#3A4B0B #0B4B3C #1C0B4B #4B0B1A
split-complementary
#3A4B0B #0B1A4B #3C0B4B
monochromatic
#151B04 #151B04 #3A4B0B #638013 #8DB61B

Accessibility & contrast

On white

9.58
#3A4B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3A4B0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4B0B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4B0B#FFFFFF#000000##FFFFFF
##3A4B0B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504600
Deuteranopia (green-blind)
#4E4511
Tritanopia (blue-blind)
#3D473F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a4b0b;
/* rgb */ color: rgb(58, 75, 11);
/* oklch */ color: oklch(38.5% 0.088 123.9);
Tailwind
colors: {
  custom: {
    50: '#737d50',
    500: '#3a4b0b',
    950: '#000000',
  },
}
SCSS
$custom: #3a4b0b;
$custom-light: #737d50;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4b0b",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 11
  },
  "hsl": {
    "h": 75.938,
    "s": 74.419,
    "l": 16.863
  },
  "oklch": {
    "l": 0.38482,
    "c": 0.08796,
    "h": 123.9
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#3A4B0B
secondary
#432B87
accent
#37F168
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A4B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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