#3D7B18#3D7B18

#3D7B18 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.1% C 0.144 H 136.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#3D7B18
RGBrgb(61, 123, 24)
HSLhsl(98, 67%, 29%)
HSVhsv(98, 80%, 48%)
CMYKcmyk(50.4%, 0%, 80.5%, 51.8%)
CIE-LABlab(45.94, -37.64, 44.31)
CIE-LCHlch(45.94, 58.14, 130.34°)
OKLaboklab(52.15% -0.1047 0.0986)
OKLCHoklch(52.15% 0.144 136.7)
XYZxyz(9.1720, 15.2233, 3.3191)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7B18 #56187B
analogous
#6F7B18 #3D7B18 #187B25
triadic
#3D7B18 #183D7B #7B183D
tetradic
#3D7B18 #186F7B #56187B #7B2518
square
#3D7B18 #186F7B #56187B #7B2518
split-complementary
#3D7B18 #25187B #7B186F
monochromatic
#0D1A05 #24480E #3D7B18 #56AE22 #72D836

Accessibility & contrast

On white

5.19
#3D7B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#3D7B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7B18
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7B18#FFFFFF#000000##FFFFFF
##3D7B181.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#776B23
Tritanopia (blue-blind)
#3A7669
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3d7b18;
/* rgb */ color: rgb(61, 123, 24);
/* oklch */ color: oklch(52.1% 0.144 136.7);
Tailwind
colors: {
  custom: {
    50: '#79a25e',
    500: '#3d7b18',
    950: '#000000',
  },
}
SCSS
$custom: #3d7b18;
$custom-light: #79a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7b18",
  "rgb": {
    "r": 61,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 97.576,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52145,
    "c": 0.1438,
    "h": 136.7
  },
  "luminance": 0.15224
}

Semantic roles & 50–950 ramp

primary
#3D7B18
secondary
#863FB0
accent
#3EEAAA
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7B18

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

Preview Lab → · Contrast checker → · Palette generator →

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