#3F7015#3F7015

#3F7015 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.2% C 0.130 H 134.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#3F7015
RGBrgb(63, 112, 21)
HSLhsl(92, 68%, 26%)
HSVhsv(92, 81%, 44%)
CMYKcmyk(43.7%, 0%, 81.2%, 56.1%)
CIE-LABlab(42.31, -32.38, 41.92)
CIE-LCHlch(42.31, 52.97, 127.69°)
OKLaboklab(49.18% -0.0909 0.0931)
OKLCHoklch(49.18% 0.13 134.3)
XYZxyz(7.9793, 12.6988, 2.7400)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7015 #461570
analogous
#6C7015 #3F7015 #157019
triadic
#3F7015 #153F70 #70153F
tetradic
#3F7015 #156C70 #461570 #701915
square
#3F7015 #156C70 #461570 #701915
split-complementary
#3F7015 #191570 #70156C
monochromatic
#0E1A05 #223C0B #3F7015 #5CA41F #79D729

Accessibility & contrast

On white

5.93
#3F7015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#3F7015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7015
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7015#FFFFFF#000000##FFFFFF
##3F70151.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6E621F
Tritanopia (blue-blind)
#3E6B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f7015;
/* rgb */ color: rgb(63, 112, 21);
/* oklch */ color: oklch(49.2% 0.130 134.3);
Tailwind
colors: {
  custom: {
    50: '#79995b',
    500: '#3f7015',
    950: '#000000',
  },
}
SCSS
$custom: #3f7015;
$custom-light: #79995b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7015",
  "rgb": {
    "r": 63,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 92.308,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49182,
    "c": 0.13007,
    "h": 134.3
  },
  "luminance": 0.12699
}

Semantic roles & 50–950 ramp

primary
#3F7015
secondary
#753BA6
accent
#3DEB9B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3F7015

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

Preview Lab → · Contrast checker → · Palette generator →

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