#3D7218#3D7218

#3D7218 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.6% C 0.132 H 135.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3D7218
RGBrgb(61, 114, 24)
HSLhsl(95, 65%, 27%)
HSVhsv(95, 79%, 45%)
CMYKcmyk(46.5%, 0%, 78.9%, 55.3%)
CIE-LABlab(42.90, -33.80, 41.39)
CIE-LCHlch(42.90, 53.44, 129.23°)
OKLaboklab(49.65% -0.0943 0.0925)
OKLCHoklch(49.65% 0.132 135.6)
XYZxyz(8.1065, 13.0922, 2.9639)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7218 #4D1872
analogous
#6A7218 #3D7218 #187220
triadic
#3D7218 #183D72 #72183D
tetradic
#3D7218 #186A72 #4D1872 #722018
square
#3D7218 #186A72 #4D1872 #722018
split-complementary
#3D7218 #201872 #72186A
monochromatic
#0E1905 #223F0D #3D7218 #58A523 #74D431

Accessibility & contrast

On white

5.80
#3D7218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3D7218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7218
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7218#FFFFFF#000000##FFFFFF
##3D72181.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#6F6421
Tritanopia (blue-blind)
#3B6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d7218;
/* rgb */ color: rgb(61, 114, 24);
/* oklch */ color: oklch(49.6% 0.132 135.6);
Tailwind
colors: {
  custom: {
    50: '#789b5c',
    500: '#3d7218',
    950: '#000000',
  },
}
SCSS
$custom: #3d7218;
$custom-light: #789b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7218",
  "rgb": {
    "r": 61,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 95.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.4965,
    "c": 0.13211,
    "h": 135.6
  },
  "luminance": 0.13093
}

Semantic roles & 50–950 ramp

primary
#3D7218
secondary
#7C3EA7
accent
#40E8A3
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3D7218

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

Preview Lab → · Contrast checker → · Palette generator →

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