#3F7B13#3F7B13

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

Color values

HEX#3F7B13
RGBrgb(63, 123, 19)
HSLhsl(95, 73%, 28%)
HSVhsv(95, 85%, 48%)
CMYKcmyk(48.8%, 0%, 84.6%, 51.8%)
CIE-LABlab(46.00, -37.25, 45.99)
CIE-LCHlch(46.00, 59.18, 129.01°)
OKLaboklab(52.21% -0.1041 0.1013)
OKLCHoklch(52.21% 0.145 135.8)
XYZxyz(9.2502, 15.2691, 3.0758)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7B13 #4F137B
analogous
#737B13 #3F7B13 #137B1B
triadic
#3F7B13 #133F7B #7B133F
tetradic
#3F7B13 #13737B #4F137B #7B1B13
square
#3F7B13 #13737B #4F137B #7B1B13
split-complementary
#3F7B13 #1B137B #7B1373
monochromatic
#0E1B04 #24460B #3F7B13 #5AB01B #76DE2A

Accessibility & contrast

On white

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

On black

4.05
#3F7B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3F7B13#FFFFFF#000000##FFFFFF
##3F7B131.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f7b13;
/* rgb */ color: rgb(63, 123, 19);
/* oklch */ color: oklch(52.2% 0.145 135.8);
Tailwind
colors: {
  custom: {
    50: '#7ba25b',
    500: '#3f7b13',
    950: '#000000',
  },
}
SCSS
$custom: #3f7b13;
$custom-light: #7ba25b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7b13",
  "rgb": {
    "r": 63,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 94.615,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52212,
    "c": 0.14523,
    "h": 135.8
  },
  "luminance": 0.1527
}

Semantic roles & 50–950 ramp

primary
#3F7B13
secondary
#7E39B1
accent
#38F0A2
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3F7B13

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

Preview Lab → · Contrast checker → · Palette generator →

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