#3D5F12#3D5F12

#3D5F12 is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.3% C 0.110 H 131.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#3D5F12
RGBrgb(61, 95, 18)
HSLhsl(86, 68%, 22%)
HSVhsv(86, 81%, 37%)
CMYKcmyk(35.8%, 0%, 81.1%, 62.7%)
CIE-LABlab(36.40, -25.41, 37.33)
CIE-LCHlch(36.40, 45.16, 124.25°)
OKLaboklab(44.32% -0.0721 0.083)
OKLCHoklch(44.32% 0.11 131)
XYZxyz(6.1258, 9.2200, 2.0290)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5F12 #34125F
analogous
#5F5B12 #3D5F12 #165F12
triadic
#3D5F12 #123D5F #5F123D
tetradic
#3D5F12 #125F5B #34125F #5F1216
square
#3D5F12 #125F5B #34125F #5F1216
split-complementary
#3D5F12 #12165F #5B125F
monochromatic
#111A05 #1C2C08 #3D5F12 #5E921C #7FC625

Accessibility & contrast

On white

7.38
#3D5F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3D5F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5F12
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5F12#FFFFFF#000000##FFFFFF
##3D5F121.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645702
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#3E5B50
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d5f12;
/* rgb */ color: rgb(61, 95, 18);
/* oklch */ color: oklch(44.3% 0.110 131.0);
Tailwind
colors: {
  custom: {
    50: '#768c57',
    500: '#3d5f12',
    950: '#000000',
  },
}
SCSS
$custom: #3d5f12;
$custom-light: #768c57;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5f12",
  "rgb": {
    "r": 61,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 86.494,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44321,
    "c": 0.10996,
    "h": 131
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#3D5F12
secondary
#613697
accent
#3DEB8A
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3D5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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