#3F7214#3F7214

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

Color values

HEX#3F7214
RGBrgb(63, 114, 20)
HSLhsl(93, 70%, 26%)
HSVhsv(93, 82%, 45%)
CMYKcmyk(44.7%, 0%, 82.5%, 55.3%)
CIE-LABlab(42.98, -33.33, 42.89)
CIE-LCHlch(42.98, 54.31, 127.86°)
OKLaboklab(49.73% -0.0935 0.0949)
OKLCHoklch(49.73% 0.133 134.6)
XYZxyz(8.1933, 13.1414, 2.7665)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7214 #471472
analogous
#6E7214 #3F7214 #147218
triadic
#3F7214 #143F72 #72143F
tetradic
#3F7214 #146E72 #471472 #721814
square
#3F7214 #146E72 #471472 #721814
split-complementary
#3F7214 #181472 #72146E
monochromatic
#0E1A05 #223E0B #3F7214 #5CA61D #79D927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F7214#FFFFFF#000000##FFFFFF
##3F72141.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)
#70641F
Tritanopia (blue-blind)
#3E6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f7214;
/* rgb */ color: rgb(63, 114, 20);
/* oklch */ color: oklch(49.7% 0.133 134.6);
Tailwind
colors: {
  custom: {
    50: '#799b5a',
    500: '#3f7214',
    950: '#000000',
  },
}
SCSS
$custom: #3f7214;
$custom-light: #799b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7214",
  "rgb": {
    "r": 63,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 92.553,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.13324,
    "h": 134.6
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#3F7214
secondary
#7639A8
accent
#3BED9B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7214

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

Preview Lab → · Contrast checker → · Palette generator →

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