#3F7018#3F7018

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

Color values

HEX#3F7018
RGBrgb(63, 112, 24)
HSLhsl(93, 65%, 27%)
HSVhsv(93, 79%, 44%)
CMYKcmyk(43.7%, 0%, 78.6%, 56.1%)
CIE-LABlab(42.32, -32.19, 40.86)
CIE-LCHlch(42.32, 52.02, 128.23°)
OKLaboklab(49.2% -0.0901 0.0914)
OKLCHoklch(49.2% 0.128 134.6)
XYZxyz(8.0088, 12.7106, 2.8954)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7018 #491870
analogous
#6B7018 #3F7018 #18701D
triadic
#3F7018 #183F70 #70183F
tetradic
#3F7018 #186B70 #491870 #701D18
square
#3F7018 #186B70 #491870 #701D18
split-complementary
#3F7018 #1D1870 #70186B
monochromatic
#0E1905 #233E0D #3F7018 #5BA223 #78D330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F7018#FFFFFF#000000##FFFFFF
##3F70181.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)
#746605
Deuteranopia (green-blind)
#6E6221
Tritanopia (blue-blind)
#3E6B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f7018;
/* rgb */ color: rgb(63, 112, 24);
/* oklch */ color: oklch(49.2% 0.128 134.6);
Tailwind
colors: {
  custom: {
    50: '#79995c',
    500: '#3f7018',
    950: '#000000',
  },
}
SCSS
$custom: #3f7018;
$custom-light: #79995c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7018",
  "rgb": {
    "r": 63,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 93.409,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49203,
    "c": 0.12833,
    "h": 134.6
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#3F7018
secondary
#783EA5
accent
#40E89D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3F7018

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

Preview Lab → · Contrast checker → · Palette generator →

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