#3D8214#3D8214

#3D8214 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.1% C 0.154 H 137.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3D8214
RGBrgb(61, 130, 20)
HSLhsl(98, 73%, 29%)
HSVhsv(98, 85%, 51%)
CMYKcmyk(53.1%, 0%, 84.6%, 49%)
CIE-LABlab(48.27, -40.72, 47.73)
CIE-LCHlch(48.27, 62.74, 130.47°)
OKLaboklab(54.06% -0.1132 0.1052)
OKLCHoklch(54.06% 0.154 137.1)
XYZxyz(10.0331, 17.0071, 3.4157)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8214 #591482
analogous
#748214 #3D8214 #148222
triadic
#3D8214 #143D82 #82143D
tetradic
#3D8214 #147482 #591482 #822214
square
#3D8214 #147482 #591482 #822214
split-complementary
#3D8214 #221482 #821474
monochromatic
#0C1B04 #244D0C #3D8214 #56B71C #72DF31

Accessibility & contrast

On white

4.77
#3D8214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3D8214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D8214
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8214#FFFFFF#000000##FFFFFF
##3D82141.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7E7022
Tritanopia (blue-blind)
#387D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3d8214;
/* rgb */ color: rgb(61, 130, 20);
/* oklch */ color: oklch(54.1% 0.154 137.1);
Tailwind
colors: {
  custom: {
    50: '#7aa75d',
    500: '#3d8214',
    950: '#000000',
  },
}
SCSS
$custom: #3d8214;
$custom-light: #7aa75d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8214",
  "rgb": {
    "r": 61,
    "g": 130,
    "b": 20
  },
  "hsl": {
    "h": 97.636,
    "s": 73.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54057,
    "c": 0.15449,
    "h": 137.1
  },
  "luminance": 0.17008
}

Semantic roles & 50–950 ramp

primary
#3D8214
secondary
#893BB7
accent
#38F0AB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D8214

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

Preview Lab → · Contrast checker → · Palette generator →

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