#3D7F18#3D7F18

#3D7F18 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.3% C 0.149 H 137.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3D7F18
RGBrgb(61, 127, 24)
HSLhsl(98, 68%, 30%)
HSVhsv(98, 81%, 50%)
CMYKcmyk(52%, 0%, 81.1%, 50.2%)
CIE-LABlab(47.28, -39.29, 45.59)
CIE-LCHlch(47.28, 60.18, 130.75°)
OKLaboklab(53.25% -0.1091 0.1013)
OKLCHoklch(53.25% 0.149 137.1)
XYZxyz(9.6784, 16.2361, 3.4879)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7F18 #5A187F
analogous
#707F18 #3D7F18 #187F27
triadic
#3D7F18 #183D7F #7F183D
tetradic
#3D7F18 #18707F #5A187F #7F2718
square
#3D7F18 #18707F #5A187F #7F2718
split-complementary
#3D7F18 #27187F #7F1870
monochromatic
#0C1A05 #244C0E #3D7F18 #56B222 #72D938

Accessibility & contrast

On white

4.94
#3D7F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3D7F18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7F18
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7F18#FFFFFF#000000##FFFFFF
##3D7F181.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837400
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#397A6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3d7f18;
/* rgb */ color: rgb(61, 127, 24);
/* oklch */ color: oklch(53.3% 0.149 137.1);
Tailwind
colors: {
  custom: {
    50: '#7aa55e',
    500: '#3d7f18',
    950: '#000000',
  },
}
SCSS
$custom: #3d7f18;
$custom-light: #7aa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7f18",
  "rgb": {
    "r": 61,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 98.447,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53251,
    "c": 0.14886,
    "h": 137.1
  },
  "luminance": 0.16237
}

Semantic roles & 50–950 ramp

primary
#3D7F18
secondary
#8A3FB3
accent
#3DEBAC
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7F18

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

Preview Lab → · Contrast checker → · Palette generator →

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