#3B5A12#3B5A12

#3B5A12 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.8% C 0.104 H 130.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#3B5A12
RGBrgb(59, 90, 18)
HSLhsl(86, 67%, 21%)
HSVhsv(86, 80%, 35%)
CMYKcmyk(34.4%, 0%, 80%, 64.7%)
CIE-LABlab(34.57, -23.78, 35.52)
CIE-LCHlch(34.57, 42.74, 123.80°)
OKLaboklab(42.79% -0.0675 0.0792)
OKLCHoklch(42.79% 0.104 130.4)
XYZxyz(5.5689, 8.2856, 1.8780)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5A12 #31125A
analogous
#5A5512 #3B5A12 #175A12
triadic
#3B5A12 #123B5A #5A123B
tetradic
#3B5A12 #125A55 #31125A #5A1217
square
#3B5A12 #125A55 #31125A #5A1217
split-complementary
#3B5A12 #12175A #55125A
monochromatic
#111A05 #1A2708 #3B5A12 #5C8D1C #7EC026

Accessibility & contrast

On white

7.90
#3B5A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3B5A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5A12
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5A12#FFFFFF#000000##FFFFFF
##3B5A121.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5304
Deuteranopia (green-blind)
#5A5119
Tritanopia (blue-blind)
#3D564C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b5a12;
/* rgb */ color: rgb(59, 90, 18);
/* oklch */ color: oklch(42.8% 0.104 130.4);
Tailwind
colors: {
  custom: {
    50: '#748956',
    500: '#3b5a12',
    950: '#000000',
  },
}
SCSS
$custom: #3b5a12;
$custom-light: #748956;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5a12",
  "rgb": {
    "r": 59,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 85.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42794,
    "c": 0.10412,
    "h": 130.4
  },
  "luminance": 0.08286
}

Semantic roles & 50–950 ramp

primary
#3B5A12
secondary
#5D3593
accent
#3EEA88
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3B5A12

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

Preview Lab → · Contrast checker → · Palette generator →

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