#3F8117#3F8117

#3F8117 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 53.9% C 0.151 H 136.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3F8117
RGBrgb(63, 129, 23)
HSLhsl(97, 70%, 30%)
HSVhsv(97, 82%, 51%)
CMYKcmyk(51.2%, 0%, 82.2%, 49.4%)
CIE-LABlab(48.03, -39.52, 46.64)
CIE-LCHlch(48.03, 61.14, 130.28°)
OKLaboklab(53.89% -0.1099 0.1033)
OKLCHoklch(53.89% 0.151 136.8)
XYZxyz(10.0545, 16.8184, 3.5269)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8117 #591781
analogous
#748117 #3F8117 #178124
triadic
#3F8117 #173F81 #81173F
tetradic
#3F8117 #177481 #591781 #812417
square
#3F8117 #177481 #591781 #812417
split-complementary
#3F8117 #241781 #811774
monochromatic
#0D1A05 #264D0E #3F8117 #58B520 #75DB37

Accessibility & contrast

On white

4.81
#3F8117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#3F8117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8117
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8117#FFFFFF#000000##FFFFFF
##3F81171.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#3B7C6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3f8117;
/* rgb */ color: rgb(63, 129, 23);
/* oklch */ color: oklch(53.9% 0.151 136.8);
Tailwind
colors: {
  custom: {
    50: '#7ba65e',
    500: '#3f8117',
    950: '#000000',
  },
}
SCSS
$custom: #3f8117;
$custom-light: #7ba65e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8117",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 97.358,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.15084,
    "h": 136.8
  },
  "luminance": 0.16819
}

Semantic roles & 50–950 ramp

primary
#3F8117
secondary
#883EB5
accent
#3BEDAA
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3F8117

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

Preview Lab → · Contrast checker → · Palette generator →

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