#3D7815#3D7815

#3D7815 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.3% C 0.142 H 136.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#3D7815
RGBrgb(61, 120, 21)
HSLhsl(96, 70%, 28%)
HSVhsv(96, 83%, 47%)
CMYKcmyk(49.2%, 0%, 82.5%, 52.9%)
CIE-LABlab(44.91, -36.56, 44.34)
CIE-LCHlch(44.91, 57.47, 129.51°)
OKLaboklab(51.3% -0.1019 0.0982)
OKLCHoklch(51.3% 0.142 136.1)
XYZxyz(8.7761, 14.4786, 3.0415)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7815 #501578
analogous
#6E7815 #3D7815 #15781F
triadic
#3D7815 #153D78 #78153D
tetradic
#3D7815 #156E78 #501578 #781F15
square
#3D7815 #156E78 #501578 #781F15
split-complementary
#3D7815 #1F1578 #78156E
monochromatic
#0D1A05 #23440C #3D7815 #57AC1E #73DA2D

Accessibility & contrast

On white

5.39
#3D7815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#3D7815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7815
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7815#FFFFFF#000000##FFFFFF
##3D78151.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#756820
Tritanopia (blue-blind)
#3A7366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3d7815;
/* rgb */ color: rgb(61, 120, 21);
/* oklch */ color: oklch(51.3% 0.142 136.1);
Tailwind
colors: {
  custom: {
    50: '#799f5c',
    500: '#3d7815',
    950: '#000000',
  },
}
SCSS
$custom: #3d7815;
$custom-light: #799f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7815",
  "rgb": {
    "r": 61,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 95.758,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51295,
    "c": 0.14154,
    "h": 136.1
  },
  "luminance": 0.14479
}

Semantic roles & 50–950 ramp

primary
#3D7815
secondary
#7F3BAE
accent
#3BEDA5
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3D7815

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

Preview Lab → · Contrast checker → · Palette generator →

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