#3D8F12#3D8F12

#3D8F12 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.6% C 0.171 H 138.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#3D8F12
RGBrgb(61, 143, 18)
HSLhsl(99, 78%, 32%)
HSVhsv(99, 87%, 56%)
CMYKcmyk(57.3%, 0%, 87.4%, 43.9%)
CIE-LABlab(52.60, -45.85, 52.12)
CIE-LCHlch(52.60, 69.42, 131.34°)
OKLaboklab(57.63% -0.127 0.1141)
OKLCHoklch(57.63% 0.171 138.1)
XYZxyz(11.8557, 20.6797, 3.9390)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8F12 #64128F
analogous
#7C8F12 #3D8F12 #128F26
triadic
#3D8F12 #123D8F #8F123D
tetradic
#3D8F12 #127C8F #64128F #8F2612
square
#3D8F12 #127C8F #64128F #8F2612
split-complementary
#3D8F12 #26128F #8F127C
monochromatic
#0F2204 #26590B #3D8F12 #54C519 #72E636

Accessibility & contrast

On white

4.09
#3D8F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#3D8F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D8F12
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8F12#FFFFFF#000000##000000
##3D8F121.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#368A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3d8f12;
/* rgb */ color: rgb(61, 143, 18);
/* oklch */ color: oklch(57.6% 0.171 138.1);
Tailwind
colors: {
  custom: {
    50: '#7db05e',
    500: '#3d8f12',
    950: '#000000',
  },
}
SCSS
$custom: #3d8f12;
$custom-light: #7db05e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8f12",
  "rgb": {
    "r": 61,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 99.36,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57625,
    "c": 0.17074,
    "h": 138.1
  },
  "luminance": 0.20681
}

Semantic roles & 50–950 ramp

primary
#3D8F12
secondary
#943AC3
accent
#34F4B2
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1105
muted
#7C8079

Preview Lab

Preview with #3D8F12

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

Preview Lab → · Contrast checker → · Palette generator →

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