#3D7512#3D7512

#3D7512 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.4% C 0.139 H 135.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#3D7512
RGBrgb(61, 117, 18)
HSLhsl(94, 73%, 26%)
HSVhsv(94, 85%, 46%)
CMYKcmyk(47.9%, 0%, 84.6%, 54.1%)
CIE-LABlab(43.88, -35.45, 44.32)
CIE-LCHlch(43.88, 56.75, 128.66°)
OKLaboklab(50.44% -0.0992 0.0977)
OKLCHoklch(50.44% 0.139 135.4)
XYZxyz(8.3947, 13.7578, 2.7853)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7512 #4A1275
analogous
#6F7512 #3D7512 #127518
triadic
#3D7512 #123D75 #75123D
tetradic
#3D7512 #126F75 #4A1275 #751812
square
#3D7512 #126F75 #4A1275 #751812
split-complementary
#3D7512 #181275 #75126F
monochromatic
#0E1B04 #21400A #3D7512 #59AA1A #75DD24

Accessibility & contrast

On white

5.60
#3D7512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3D7512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7512
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7512#FFFFFF#000000##FFFFFF
##3D75121.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#72661E
Tritanopia (blue-blind)
#3B7063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3d7512;
/* rgb */ color: rgb(61, 117, 18);
/* oklch */ color: oklch(50.4% 0.139 135.4);
Tailwind
colors: {
  custom: {
    50: '#799d5a',
    500: '#3d7512',
    950: '#000000',
  },
}
SCSS
$custom: #3d7512;
$custom-light: #799d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7512",
  "rgb": {
    "r": 61,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 93.939,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.50445,
    "c": 0.13918,
    "h": 135.4
  },
  "luminance": 0.13758
}

Semantic roles & 50–950 ramp

primary
#3D7512
secondary
#7937AC
accent
#38F0A0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3D7512

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

Preview Lab → · Contrast checker → · Palette generator →

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