#3B4A0B#3B4A0B

#3B4A0B is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.3% C 0.086 H 122.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#3B4A0B
RGBrgb(59, 74, 11)
HSLhsl(74, 74%, 17%)
HSVhsv(74, 85%, 29%)
CMYKcmyk(20.3%, 0%, 85.1%, 71%)
CIE-LABlab(29.03, -15.78, 32.91)
CIE-LCHlch(29.03, 36.49, 115.61°)
OKLaboklab(38.29% -0.0464 0.0725)
OKLCHoklch(38.29% 0.086 122.6)
XYZxyz(4.3129, 5.8515, 1.2188)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4A0B #1A0B4A
analogous
#4A3A0B #3B4A0B #1C4A0B
triadic
#3B4A0B #0B3B4A #4A0B3B
tetradic
#3B4A0B #0B4A3A #1A0B4A #4A0B1C
square
#3B4A0B #0B4A3A #1A0B4A #4A0B1C
split-complementary
#3B4A0B #0B1C4A #3A0B4A
monochromatic
#151B04 #151B04 #3B4A0B #657F13 #90B51B

Accessibility & contrast

On white

9.68
#3B4A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3B4A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4A0B
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4A0B#FFFFFF#000000##FFFFFF
##3B4A0B1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4500
Deuteranopia (green-blind)
#4D4411
Tritanopia (blue-blind)
#3F463E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b4a0b;
/* rgb */ color: rgb(59, 74, 11);
/* oklch */ color: oklch(38.3% 0.086 122.6);
Tailwind
colors: {
  custom: {
    50: '#737c50',
    500: '#3b4a0b',
    950: '#000000',
  },
}
SCSS
$custom: #3b4a0b;
$custom-light: #737c50;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4a0b",
  "rgb": {
    "r": 59,
    "g": 74,
    "b": 11
  },
  "hsl": {
    "h": 74.286,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.38287,
    "c": 0.08604,
    "h": 122.6
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#3B4A0B
secondary
#402B86
accent
#37F163
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3B4A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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