#3D7F12#3D7F12

#3D7F12 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.2% C 0.152 H 136.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3D7F12
RGBrgb(61, 127, 18)
HSLhsl(96, 75%, 28%)
HSVhsv(96, 86%, 50%)
CMYKcmyk(52%, 0%, 85.8%, 50.2%)
CIE-LABlab(47.25, -39.61, 47.37)
CIE-LCHlch(47.25, 61.75, 129.90°)
OKLaboklab(53.22% -0.1103 0.1041)
OKLCHoklch(53.22% 0.152 136.7)
XYZxyz(9.6227, 16.2138, 3.1947)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7F12 #54127F
analogous
#737F12 #3D7F12 #127F1D
triadic
#3D7F12 #123D7F #7F123D
tetradic
#3D7F12 #12737F #54127F #7F1D12
square
#3D7F12 #12737F #54127F #7F1D12
split-complementary
#3D7F12 #1D127F #7F1273
monochromatic
#0D1B04 #23490A #3D7F12 #57B51A #72E12B

Accessibility & contrast

On white

4.95
#3D7F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#3D7F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7F12
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7F12#FFFFFF#000000##FFFFFF
##3D7F121.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#397A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3d7f12;
/* rgb */ color: rgb(61, 127, 18);
/* oklch */ color: oklch(53.2% 0.152 136.7);
Tailwind
colors: {
  custom: {
    50: '#7aa55c',
    500: '#3d7f12',
    950: '#000000',
  },
}
SCSS
$custom: #3d7f12;
$custom-light: #7aa55c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7f12",
  "rgb": {
    "r": 61,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 96.33,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53218,
    "c": 0.15167,
    "h": 136.7
  },
  "luminance": 0.16215
}

Semantic roles & 50–950 ramp

primary
#3D7F12
secondary
#8438B5
accent
#36F2A8
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3D7F12

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

Preview Lab → · Contrast checker → · Palette generator →

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