#3F8818#3F8818

#3F8818 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 55.8% C 0.159 H 137.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3F8818
RGBrgb(63, 136, 24)
HSLhsl(99, 70%, 31%)
HSVhsv(99, 82%, 53%)
CMYKcmyk(53.7%, 0%, 82.4%, 46.7%)
CIE-LABlab(50.37, -42.28, 48.51)
CIE-LCHlch(50.37, 64.35, 131.07°)
OKLaboklab(55.82% -0.1173 0.1074)
OKLCHoklch(55.82% 0.159 137.5)
XYZxyz(11.0186, 18.7302, 3.8986)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8818 #611888
analogous
#778818 #3F8818 #188829
triadic
#3F8818 #183F88 #88183F
tetradic
#3F8818 #187788 #611888 #882918
square
#3F8818 #187788 #611888 #882918
split-complementary
#3F8818 #291888 #881877
monochromatic
#0F2006 #27540F #3F8818 #57BC21 #75DD3E

Accessibility & contrast

On white

4.42
#3F8818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#3F8818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8818
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8818#FFFFFF#000000##000000
##3F88181.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#837625
Tritanopia (blue-blind)
#3A8374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3f8818;
/* rgb */ color: rgb(63, 136, 24);
/* oklch */ color: oklch(55.8% 0.159 137.5);
Tailwind
colors: {
  custom: {
    50: '#7cab60',
    500: '#3f8818',
    950: '#000000',
  },
}
SCSS
$custom: #3f8818;
$custom-light: #7cab60;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8818",
  "rgb": {
    "r": 63,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 99.107,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55816,
    "c": 0.15898,
    "h": 137.5
  },
  "luminance": 0.18731
}

Semantic roles & 50–950 ramp

primary
#3F8818
secondary
#9140BC
accent
#3BEDAF
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8818

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

Preview Lab → · Contrast checker → · Palette generator →

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