#3F7815#3F7815

#3F7815 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.4% C 0.140 H 135.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#3F7815
RGBrgb(63, 120, 21)
HSLhsl(95, 70%, 28%)
HSVhsv(95, 83%, 47%)
CMYKcmyk(47.5%, 0%, 82.5%, 52.9%)
CIE-LABlab(45.00, -35.88, 44.45)
CIE-LCHlch(45.00, 57.13, 128.91°)
OKLaboklab(51.39% -0.1003 0.0984)
OKLCHoklch(51.39% 0.14 135.5)
XYZxyz(8.9015, 14.5433, 3.0474)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7815 #4E1578
analogous
#717815 #3F7815 #15781C
triadic
#3F7815 #153F78 #78153F
tetradic
#3F7815 #157178 #4E1578 #781C15
square
#3F7815 #157178 #4E1578 #781C15
split-complementary
#3F7815 #1C1578 #781571
monochromatic
#0E1A05 #24440C #3F7815 #5AAC1E #77DA2D

Accessibility & contrast

On white

5.37
#3F7815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#3F7815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7815
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7815#FFFFFF#000000##FFFFFF
##3F78151.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#3D7366
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3f7815;
/* rgb */ color: rgb(63, 120, 21);
/* oklch */ color: oklch(51.4% 0.140 135.5);
Tailwind
colors: {
  custom: {
    50: '#7a9f5c',
    500: '#3f7815',
    950: '#000000',
  },
}
SCSS
$custom: #3f7815;
$custom-light: #7a9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7815",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 94.545,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51394,
    "c": 0.14047,
    "h": 135.5
  },
  "luminance": 0.14544
}

Semantic roles & 50–950 ramp

primary
#3F7815
secondary
#7D3BAE
accent
#3BEDA1
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7815

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

Preview Lab → · Contrast checker → · Palette generator →

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