#3F8815#3F8815

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

Color values

HEX#3F8815
RGBrgb(63, 136, 21)
HSLhsl(98, 73%, 31%)
HSVhsv(98, 85%, 53%)
CMYKcmyk(53.7%, 0%, 84.6%, 46.7%)
CIE-LABlab(50.36, -42.44, 49.37)
CIE-LCHlch(50.36, 65.11, 130.68°)
OKLaboklab(55.8% -0.1178 0.1087)
OKLCHoklch(55.8% 0.16 137.3)
XYZxyz(10.9891, 18.7184, 3.7433)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8815 #5E1588
analogous
#788815 #3F8815 #158824
triadic
#3F8815 #153F88 #88153F
tetradic
#3F8815 #157888 #5E1588 #882415
square
#3F8815 #157888 #5E1588 #882415
split-complementary
#3F8815 #241588 #881578
monochromatic
#0E1E05 #26530D #3F8815 #58BD1D #75E037

Accessibility & contrast

On white

4.43
#3F8815 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#3F8815 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8815
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8815#FFFFFF#000000##000000
##3F88151.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f8815;
/* rgb */ color: rgb(63, 136, 21);
/* oklch */ color: oklch(55.8% 0.160 137.3);
Tailwind
colors: {
  custom: {
    50: '#7dab5e',
    500: '#3f8815',
    950: '#000000',
  },
}
SCSS
$custom: #3f8815;
$custom-light: #7dab5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8815",
  "rgb": {
    "r": 63,
    "g": 136,
    "b": 21
  },
  "hsl": {
    "h": 98.087,
    "s": 73.248,
    "l": 30.784
  },
  "oklch": {
    "l": 0.558,
    "c": 0.16035,
    "h": 137.3
  },
  "luminance": 0.18719
}

Semantic roles & 50–950 ramp

primary
#3F8815
secondary
#8E3DBC
accent
#38F0AD
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8815

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

Preview Lab → · Contrast checker → · Palette generator →

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