#3D8117#3D8117

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

Color values

HEX#3D8117
RGBrgb(61, 129, 23)
HSLhsl(98, 70%, 30%)
HSVhsv(98, 82%, 51%)
CMYKcmyk(52.7%, 0%, 82.2%, 49.4%)
CIE-LABlab(47.95, -40.16, 46.54)
CIE-LCHlch(47.95, 61.47, 130.79°)
OKLaboklab(53.8% -0.1115 0.1031)
OKLCHoklch(53.8% 0.152 137.2)
XYZxyz(9.9291, 16.7537, 3.5210)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8117 #5B1781
analogous
#728117 #3D8117 #178126
triadic
#3D8117 #173D81 #81173D
tetradic
#3D8117 #177281 #5B1781 #812617
square
#3D8117 #177281 #5B1781 #812617
split-complementary
#3D8117 #261781 #811772
monochromatic
#0C1A05 #244D0E #3D8117 #56B520 #72DB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D8117#FFFFFF#000000##FFFFFF
##3D81171.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)
#857500
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#387C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3d8117;
/* rgb */ color: rgb(61, 129, 23);
/* oklch */ color: oklch(53.8% 0.152 137.2);
Tailwind
colors: {
  custom: {
    50: '#7aa65e',
    500: '#3d8117',
    950: '#000000',
  },
}
SCSS
$custom: #3d8117;
$custom-light: #7aa65e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8117",
  "rgb": {
    "r": 61,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 98.491,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53797,
    "c": 0.15185,
    "h": 137.2
  },
  "luminance": 0.16754
}

Semantic roles & 50–950 ramp

primary
#3D8117
secondary
#8B3EB5
accent
#3BEDAD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D8117

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

Preview Lab → · Contrast checker → · Palette generator →

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