#3B4E0F#3B4E0F

#3B4E0F is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.4% C 0.089 H 125.2°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#3B4E0F
RGBrgb(59, 78, 15)
HSLhsl(78, 68%, 18%)
HSVhsv(78, 81%, 31%)
CMYKcmyk(24.4%, 0%, 80.8%, 69.4%)
CIE-LABlab(30.43, -17.73, 32.69)
CIE-LCHlch(30.43, 37.19, 118.48°)
OKLaboklab(39.42% -0.0514 0.0728)
OKLCHoklch(39.42% 0.089 125.2)
XYZxyz(4.6143, 6.4130, 1.4466)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4E0F #220F4E
analogous
#4E410F #3B4E0F #1B4E0F
triadic
#3B4E0F #0F3B4E #4E0F3B
tetradic
#3B4E0F #0F4E41 #220F4E #4E0F1B
square
#3B4E0F #0F4E41 #220F4E #4E0F1B
split-complementary
#3B4E0F #0F1B4E #410F4E
monochromatic
#131A05 #141B05 #3B4E0F #628119 #89B523

Accessibility & contrast

On white

9.20
#3B4E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3B4E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B4E0F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4E0F#FFFFFF#000000##FFFFFF
##3B4E0F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534804
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#3E4A42
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3b4e0f;
/* rgb */ color: rgb(59, 78, 15);
/* oklch */ color: oklch(39.4% 0.089 125.2);
Tailwind
colors: {
  custom: {
    50: '#737f53',
    500: '#3b4e0f',
    950: '#000000',
  },
}
SCSS
$custom: #3b4e0f;
$custom-light: #737f53;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4e0f",
  "rgb": {
    "r": 59,
    "g": 78,
    "b": 15
  },
  "hsl": {
    "h": 78.095,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39425,
    "c": 0.08907,
    "h": 125.2
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

primary
#3B4E0F
secondary
#4B3188
accent
#3DEB71
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #3B4E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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