#3D8118#3D8118

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

Color values

HEX#3D8118
RGBrgb(61, 129, 24)
HSLhsl(99, 69%, 30%)
HSVhsv(99, 81%, 51%)
CMYKcmyk(52.7%, 0%, 81.4%, 49.4%)
CIE-LABlab(47.95, -40.10, 46.22)
CIE-LCHlch(47.95, 61.19, 130.94°)
OKLaboklab(53.8% -0.1113 0.1026)
OKLCHoklch(53.8% 0.151 137.3)
XYZxyz(9.9393, 16.7578, 3.5748)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8118 #5C1881
analogous
#728118 #3D8118 #188127
triadic
#3D8118 #183D81 #81183D
tetradic
#3D8118 #187281 #5C1881 #812718
square
#3D8118 #187281 #5C1881 #812718
split-complementary
#3D8118 #271881 #811872
monochromatic
#0C1A05 #254D0E #3D8118 #55B522 #72DA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D8118#FFFFFF#000000##FFFFFF
##3D81181.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)
#7D7024
Tritanopia (blue-blind)
#387C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3d8118;
/* rgb */ color: rgb(61, 129, 24);
/* oklch */ color: oklch(53.8% 0.151 137.3);
Tailwind
colors: {
  custom: {
    50: '#7aa65e',
    500: '#3d8118',
    950: '#000000',
  },
}
SCSS
$custom: #3d8118;
$custom-light: #7aa65e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8118",
  "rgb": {
    "r": 61,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 98.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.15135,
    "h": 137.3
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

primary
#3D8118
secondary
#8C40B5
accent
#3CEBAE
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D8118

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

Preview Lab → · Contrast checker → · Palette generator →

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