#3F7B17#3F7B17

#3F7B17 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.2% C 0.143 H 136.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3F7B17
RGBrgb(63, 123, 23)
HSLhsl(96, 68%, 29%)
HSVhsv(96, 81%, 48%)
CMYKcmyk(48.8%, 0%, 81.3%, 51.8%)
CIE-LABlab(46.02, -37.03, 44.76)
CIE-LCHlch(46.02, 58.09, 129.61°)
OKLaboklab(52.23% -0.1032 0.0993)
OKLCHoklch(52.23% 0.143 136.1)
XYZxyz(9.2873, 15.2839, 3.2712)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7B17 #53177B
analogous
#717B17 #3F7B17 #177B21
triadic
#3F7B17 #173F7B #7B173F
tetradic
#3F7B17 #17717B #53177B #7B2117
square
#3F7B17 #17717B #53177B #7B2117
split-complementary
#3F7B17 #21177B #7B1771
monochromatic
#0D1A05 #25470D #3F7B17 #59AF21 #76D933

Accessibility & contrast

On white

5.18
#3F7B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#3F7B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7B17
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7B17#FFFFFF#000000##FFFFFF
##3F7B171.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#3C7668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3f7b17;
/* rgb */ color: rgb(63, 123, 23);
/* oklch */ color: oklch(52.2% 0.143 136.1);
Tailwind
colors: {
  custom: {
    50: '#7aa25d',
    500: '#3f7b17',
    950: '#000000',
  },
}
SCSS
$custom: #3f7b17;
$custom-light: #7aa25d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7b17",
  "rgb": {
    "r": 63,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 96,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52234,
    "c": 0.14328,
    "h": 136.1
  },
  "luminance": 0.15285
}

Semantic roles & 50–950 ramp

primary
#3F7B17
secondary
#823EB0
accent
#3CEBA5
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F7B17

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

Preview Lab → · Contrast checker → · Palette generator →

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