#3F7518#3F7518

#3F7518 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.6% C 0.135 H 135.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#3F7518
RGBrgb(63, 117, 24)
HSLhsl(95, 66%, 28%)
HSVhsv(95, 79%, 46%)
CMYKcmyk(46.2%, 0%, 79.5%, 54.1%)
CIE-LABlab(44.01, -34.40, 42.50)
CIE-LCHlch(44.01, 54.68, 128.99°)
OKLaboklab(50.59% -0.0961 0.0948)
OKLCHoklch(50.59% 0.135 135.4)
XYZxyz(8.5759, 13.8448, 3.0844)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7518 #4E1875
analogous
#6D7518 #3F7518 #187520
triadic
#3F7518 #183F75 #75183F
tetradic
#3F7518 #186D75 #4E1875 #752018
square
#3F7518 #186D75 #4E1875 #752018
split-complementary
#3F7518 #201875 #75186D
monochromatic
#0E1905 #24420E #3F7518 #5AA822 #77D532

Accessibility & contrast

On white

5.57
#3F7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#3F7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7518
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7518#FFFFFF#000000##FFFFFF
##3F75181.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#3D7063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3f7518;
/* rgb */ color: rgb(63, 117, 24);
/* oklch */ color: oklch(50.6% 0.135 135.4);
Tailwind
colors: {
  custom: {
    50: '#7a9d5d',
    500: '#3f7518',
    950: '#000000',
  },
}
SCSS
$custom: #3f7518;
$custom-light: #7a9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7518",
  "rgb": {
    "r": 63,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 94.839,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50585,
    "c": 0.13496,
    "h": 135.4
  },
  "luminance": 0.13845
}

Semantic roles & 50–950 ramp

primary
#3F7518
secondary
#7D3FAA
accent
#3FE9A2
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7518

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

Preview Lab → · Contrast checker → · Palette generator →

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