#3F7318#3F7318

#3F7318 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.0% C 0.132 H 135.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#3F7318
RGBrgb(63, 115, 24)
HSLhsl(94, 65%, 27%)
HSVhsv(94, 79%, 45%)
CMYKcmyk(45.2%, 0%, 79.1%, 54.9%)
CIE-LABlab(43.34, -33.53, 41.85)
CIE-LCHlch(43.34, 53.62, 128.70°)
OKLaboklab(50.03% -0.0937 0.0934)
OKLCHoklch(50.03% 0.132 135.1)
XYZxyz(8.3453, 13.3837, 3.0076)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7318 #4C1873
analogous
#6D7318 #3F7318 #18731F
triadic
#3F7318 #183F73 #73183F
tetradic
#3F7318 #186D73 #4C1873 #731F18
square
#3F7318 #186D73 #4C1873 #731F18
split-complementary
#3F7318 #1F1873 #73186D
monochromatic
#0E1905 #23400D #3F7318 #5BA623 #77D431

Accessibility & contrast

On white

5.71
#3F7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3F7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7318
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7318#FFFFFF#000000##FFFFFF
##3F73181.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786904
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#3E6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f7318;
/* rgb */ color: rgb(63, 115, 24);
/* oklch */ color: oklch(50.0% 0.132 135.1);
Tailwind
colors: {
  custom: {
    50: '#799c5c',
    500: '#3f7318',
    950: '#000000',
  },
}
SCSS
$custom: #3f7318;
$custom-light: #799c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7318",
  "rgb": {
    "r": 63,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 94.286,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50032,
    "c": 0.13233,
    "h": 135.1
  },
  "luminance": 0.13384
}

Semantic roles & 50–950 ramp

primary
#3F7318
secondary
#7B3FA8
accent
#3FE8A0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3F7318

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

Preview Lab → · Contrast checker → · Palette generator →

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