#3B6312#3B6312

#3B6312 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.3% C 0.117 H 132.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3B6312
RGBrgb(59, 99, 18)
HSLhsl(90, 69%, 23%)
HSVhsv(90, 82%, 39%)
CMYKcmyk(40.4%, 0%, 81.8%, 61.2%)
CIE-LABlab(37.66, -28.13, 38.48)
CIE-LCHlch(37.66, 47.67, 126.17°)
OKLaboklab(45.31% -0.0793 0.0855)
OKLCHoklch(45.31% 0.117 132.9)
XYZxyz(6.3746, 9.8969, 2.1466)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B6312 #3A1263
analogous
#636212 #3B6312 #126312
triadic
#3B6312 #123B63 #63123B
tetradic
#3B6312 #126362 #3A1263 #631212
square
#3B6312 #126362 #3A1263 #631212
split-complementary
#3B6312 #121263 #621263
monochromatic
#0F1A05 #1C2F09 #3B6312 #5A971B #79CB25

Accessibility & contrast

On white

7.05
#3B6312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3B6312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B6312
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B6312#FFFFFF#000000##FFFFFF
##3B63121.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B01
Deuteranopia (green-blind)
#62581B
Tritanopia (blue-blind)
#3B5F54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3b6312;
/* rgb */ color: rgb(59, 99, 18);
/* oklch */ color: oklch(45.3% 0.117 132.9);
Tailwind
colors: {
  custom: {
    50: '#758f57',
    500: '#3b6312',
    950: '#000000',
  },
}
SCSS
$custom: #3b6312;
$custom-light: #758f57;
$custom-dark: #000000;
JSON
{
  "hex": "#3b6312",
  "rgb": {
    "r": 59,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 89.63,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45313,
    "c": 0.11661,
    "h": 132.9
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#3B6312
secondary
#68369B
accent
#3CEC93
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3B6312

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

Preview Lab → · Contrast checker → · Palette generator →

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