#3F7213#3F7213

#3F7213 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.7% C 0.134 H 134.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3F7213
RGBrgb(63, 114, 19)
HSLhsl(92, 71%, 26%)
HSVhsv(92, 83%, 45%)
CMYKcmyk(44.7%, 0%, 83.3%, 55.3%)
CIE-LABlab(42.97, -33.39, 43.20)
CIE-LCHlch(42.97, 54.60, 127.70°)
OKLaboklab(49.72% -0.0937 0.0954)
OKLCHoklch(49.72% 0.134 134.5)
XYZxyz(8.1846, 13.1379, 2.7206)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7213 #461372
analogous
#6E7213 #3F7213 #137217
triadic
#3F7213 #133F72 #72133F
tetradic
#3F7213 #136E72 #461372 #721713
square
#3F7213 #136E72 #461372 #721713
split-complementary
#3F7213 #171372 #72136E
monochromatic
#0E1A04 #223E0A #3F7213 #5CA61C #79DB25

Accessibility & contrast

On white

5.79
#3F7213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3F7213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7213
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7213#FFFFFF#000000##FFFFFF
##3F72131.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#3E6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f7213;
/* rgb */ color: rgb(63, 114, 19);
/* oklch */ color: oklch(49.7% 0.134 134.5);
Tailwind
colors: {
  custom: {
    50: '#799b5a',
    500: '#3f7213',
    950: '#000000',
  },
}
SCSS
$custom: #3f7213;
$custom-light: #799b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7213",
  "rgb": {
    "r": 63,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 92.211,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49723,
    "c": 0.13375,
    "h": 134.5
  },
  "luminance": 0.13138
}

Semantic roles & 50–950 ramp

primary
#3F7213
secondary
#7538A9
accent
#3AEE9B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7213

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

Preview Lab → · Contrast checker → · Palette generator →

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