#3D6217#3D6217

#3D6217 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.2% C 0.111 H 132.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#3D6217
RGBrgb(61, 98, 23)
HSLhsl(90, 62%, 24%)
HSVhsv(90, 77%, 38%)
CMYKcmyk(37.8%, 0%, 76.5%, 61.6%)
CIE-LABlab(37.46, -26.53, 36.41)
CIE-LCHlch(37.46, 45.05, 126.08°)
OKLaboklab(45.19% -0.0747 0.0819)
OKLCHoklch(45.19% 0.111 132.4)
XYZxyz(6.4467, 9.7891, 2.3603)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D6217 #3C1762
analogous
#626117 #3D6217 #176217
triadic
#3D6217 #173D62 #62173D
tetradic
#3D6217 #176261 #3C1762 #621717
square
#3D6217 #176261 #3C1762 #621717
split-complementary
#3D6217 #171762 #611762
monochromatic
#0F1906 #1E300B #3D6217 #5C9423 #7BC52E

Accessibility & contrast

On white

7.10
#3D6217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3D6217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D6217
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D6217#FFFFFF#000000##FFFFFF
##3D62171.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0A
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#3E5E53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3d6217;
/* rgb */ color: rgb(61, 98, 23);
/* oklch */ color: oklch(45.2% 0.111 132.4);
Tailwind
colors: {
  custom: {
    50: '#768f5a',
    500: '#3d6217',
    950: '#000000',
  },
}
SCSS
$custom: #3d6217;
$custom-light: #768f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d6217",
  "rgb": {
    "r": 61,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 89.6,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45194,
    "c": 0.11088,
    "h": 132.4
  },
  "luminance": 0.09789
}

Semantic roles & 50–950 ramp

primary
#3D6217
secondary
#6A3C99
accent
#43E593
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3D6217

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

Preview Lab → · Contrast checker → · Palette generator →

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