#3D8215#3D8215

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

Color values

HEX#3D8215
RGBrgb(61, 130, 21)
HSLhsl(98, 72%, 30%)
HSVhsv(98, 84%, 51%)
CMYKcmyk(53.1%, 0%, 83.8%, 49%)
CIE-LABlab(48.27, -40.67, 47.45)
CIE-LCHlch(48.27, 62.49, 130.60°)
OKLaboklab(54.06% -0.113 0.1047)
OKLCHoklch(54.06% 0.154 137.2)
XYZxyz(10.0421, 17.0108, 3.4636)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8215 #5A1582
analogous
#738215 #3D8215 #158224
triadic
#3D8215 #153D82 #82153D
tetradic
#3D8215 #157382 #5A1582 #822415
square
#3D8215 #157382 #5A1582 #822415
split-complementary
#3D8215 #241582 #821573
monochromatic
#0C1A04 #244D0C #3D8215 #56B71E #72DE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D8215#FFFFFF#000000##FFFFFF
##3D82151.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: #3d8215;
/* rgb */ color: rgb(61, 130, 21);
/* oklch */ color: oklch(54.1% 0.154 137.2);
Tailwind
colors: {
  custom: {
    50: '#7aa75d',
    500: '#3d8215',
    950: '#000000',
  },
}
SCSS
$custom: #3d8215;
$custom-light: #7aa75d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8215",
  "rgb": {
    "r": 61,
    "g": 130,
    "b": 21
  },
  "hsl": {
    "h": 97.982,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54062,
    "c": 0.15403,
    "h": 137.2
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#3D8215
secondary
#8A3CB7
accent
#39EFAC
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D8215

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

Preview Lab → · Contrast checker → · Palette generator →

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