#3F7312#3F7312

#3F7312 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.0% C 0.136 H 134.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#3F7312
RGBrgb(63, 115, 18)
HSLhsl(92, 73%, 26%)
HSVhsv(92, 84%, 45%)
CMYKcmyk(45.2%, 0%, 84.3%, 54.9%)
CIE-LABlab(43.30, -33.88, 43.82)
CIE-LCHlch(43.30, 55.39, 127.71°)
OKLaboklab(49.99% -0.0951 0.0966)
OKLCHoklch(49.99% 0.136 134.6)
XYZxyz(8.2896, 13.3614, 2.7144)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7312 #461273
analogous
#6F7312 #3F7312 #127315
triadic
#3F7312 #123F73 #73123F
tetradic
#3F7312 #126F73 #461273 #731512
square
#3F7312 #126F73 #461273 #731512
split-complementary
#3F7312 #151273 #73126F
monochromatic
#0E1A04 #223E0A #3F7312 #5CA81A #79DD23

Accessibility & contrast

On white

5.72
#3F7312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3F7312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7312
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7312#FFFFFF#000000##FFFFFF
##3F73121.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#3E6E61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f7312;
/* rgb */ color: rgb(63, 115, 18);
/* oklch */ color: oklch(50.0% 0.136 134.6);
Tailwind
colors: {
  custom: {
    50: '#7a9c5a',
    500: '#3f7312',
    950: '#000000',
  },
}
SCSS
$custom: #3f7312;
$custom-light: #7a9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7312",
  "rgb": {
    "r": 63,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 92.165,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49994,
    "c": 0.13553,
    "h": 134.6
  },
  "luminance": 0.13362
}

Semantic roles & 50–950 ramp

primary
#3F7312
secondary
#7537AA
accent
#38F09B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7312

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

Preview Lab → · Contrast checker → · Palette generator →

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