#3D8115#3D8115

#3D8115 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.8% C 0.153 H 137.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3D8115
RGBrgb(61, 129, 21)
HSLhsl(98, 72%, 29%)
HSVhsv(98, 84%, 51%)
CMYKcmyk(52.7%, 0%, 83.7%, 49.4%)
CIE-LABlab(47.94, -40.27, 47.14)
CIE-LCHlch(47.94, 62.00, 130.50°)
OKLaboklab(53.79% -0.1119 0.1041)
OKLCHoklch(53.79% 0.153 137.1)
XYZxyz(9.9098, 16.7460, 3.4194)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8115 #591581
analogous
#738115 #3D8115 #158123
triadic
#3D8115 #153D81 #81153D
tetradic
#3D8115 #157381 #591581 #812315
square
#3D8115 #157381 #591581 #812315
split-complementary
#3D8115 #231581 #811573
monochromatic
#0C1A04 #244C0C #3D8115 #56B61E #72DE33

Accessibility & contrast

On white

4.83
#3D8115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#3D8115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D8115
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8115#FFFFFF#000000##FFFFFF
##3D81151.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#397C6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3d8115;
/* rgb */ color: rgb(61, 129, 21);
/* oklch */ color: oklch(53.8% 0.153 137.1);
Tailwind
colors: {
  custom: {
    50: '#7aa65d',
    500: '#3d8115',
    950: '#000000',
  },
}
SCSS
$custom: #3d8115;
$custom-light: #7aa65d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8115",
  "rgb": {
    "r": 61,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 97.778,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53786,
    "c": 0.15281,
    "h": 137.1
  },
  "luminance": 0.16747
}

Semantic roles & 50–950 ramp

primary
#3D8115
secondary
#893CB6
accent
#39EFAB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D8115

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

Preview Lab → · Contrast checker → · Palette generator →

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