#3F8F16#3F8F16

#3F8F16 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.7% C 0.168 H 137.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#3F8F16
RGBrgb(63, 143, 22)
HSLhsl(100, 73%, 32%)
HSVhsv(100, 85%, 56%)
CMYKcmyk(55.9%, 0%, 84.6%, 43.9%)
CIE-LABlab(52.68, -45.10, 51.21)
CIE-LCHlch(52.68, 68.24, 131.37°)
OKLaboklab(57.72% -0.1249 0.1127)
OKLCHoklch(57.72% 0.168 137.9)
XYZxyz(12.0168, 20.7586, 4.1325)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8F16 #66168F
analogous
#7C8F16 #3F8F16 #168F29
triadic
#3F8F16 #163F8F #8F163F
tetradic
#3F8F16 #167C8F #66168F #8F2916
square
#3F8F16 #167C8F #66168F #8F2916
split-complementary
#3F8F16 #29168F #8F167C
monochromatic
#102506 #285A0E #3F8F16 #56C41E #75E13E

Accessibility & contrast

On white

4.08
#3F8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#3F8F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8F16
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8F16#FFFFFF#000000##000000
##3F8F161.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8A7B26
Tritanopia (blue-blind)
#388A79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3f8f16;
/* rgb */ color: rgb(63, 143, 22);
/* oklch */ color: oklch(57.7% 0.168 137.9);
Tailwind
colors: {
  custom: {
    50: '#7eb060',
    500: '#3f8f16',
    950: '#000000',
  },
}
SCSS
$custom: #3f8f16;
$custom-light: #7eb060;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8f16",
  "rgb": {
    "r": 63,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 99.669,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57722,
    "c": 0.16828,
    "h": 137.9
  },
  "luminance": 0.2076
}

Semantic roles & 50–950 ramp

primary
#3F8F16
secondary
#953FC1
accent
#38F0B2
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1105
muted
#7C807A

Preview Lab

Preview with #3F8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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