#3F8418#3F8418

#3F8418 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.7% C 0.154 H 137.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#3F8418
RGBrgb(63, 132, 24)
HSLhsl(98, 69%, 31%)
HSVhsv(98, 82%, 52%)
CMYKcmyk(52.3%, 0%, 81.8%, 48.2%)
CIE-LABlab(49.04, -40.68, 47.27)
CIE-LCHlch(49.04, 62.37, 130.72°)
OKLaboklab(54.72% -0.113 0.1048)
OKLCHoklch(54.72% 0.154 137.2)
XYZxyz(10.4657, 17.6245, 3.7144)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8418 #5D1884
analogous
#758418 #3F8418 #188427
triadic
#3F8418 #183F84 #84183F
tetradic
#3F8418 #187584 #5D1884 #842718
square
#3F8418 #187584 #5D1884 #842718
split-complementary
#3F8418 #271884 #841875
monochromatic
#0E1C05 #26500F #3F8418 #58B821 #75DB3B

Accessibility & contrast

On white

4.64
#3F8418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3F8418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F8418
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8418#FFFFFF#000000##FFFFFF
##3F84181.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#807225
Tritanopia (blue-blind)
#3B7F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f8418;
/* rgb */ color: rgb(63, 132, 24);
/* oklch */ color: oklch(54.7% 0.154 137.2);
Tailwind
colors: {
  custom: {
    50: '#7ca85f',
    500: '#3f8418',
    950: '#000000',
  },
}
SCSS
$custom: #3f8418;
$custom-light: #7ca85f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8418",
  "rgb": {
    "r": 63,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 98.333,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.15408,
    "h": 137.2
  },
  "luminance": 0.17625
}

Semantic roles & 50–950 ramp

primary
#3F8418
secondary
#8D40B8
accent
#3CECAC
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3F8418

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

Preview Lab → · Contrast checker → · Palette generator →

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