#3F6317#3F6317

#3F6317 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.6% C 0.111 H 131.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#3F6317
RGBrgb(63, 99, 23)
HSLhsl(88, 62%, 24%)
HSVhsv(88, 77%, 39%)
CMYKcmyk(36.4%, 0%, 76.8%, 61.2%)
CIE-LABlab(37.92, -26.21, 36.90)
CIE-LCHlch(37.92, 45.26, 125.38°)
OKLaboklab(45.6% -0.074 0.0829)
OKLCHoklch(45.6% 0.111 131.7)
XYZxyz(6.6663, 10.0420, 2.3975)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6317 #3B1763
analogous
#636117 #3F6317 #196317
triadic
#3F6317 #173F63 #63173F
tetradic
#3F6317 #176361 #3B1763 #631719
square
#3F6317 #176361 #3B1763 #631719
split-complementary
#3F6317 #171963 #611763
monochromatic
#101906 #1F310B #3F6317 #5F9523 #7EC62E

Accessibility & contrast

On white

6.98
#3F6317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3F6317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6317
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6317#FFFFFF#000000##FFFFFF
##3F63171.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B09
Deuteranopia (green-blind)
#63581E
Tritanopia (blue-blind)
#405F54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3f6317;
/* rgb */ color: rgb(63, 99, 23);
/* oklch */ color: oklch(45.6% 0.111 131.7);
Tailwind
colors: {
  custom: {
    50: '#778f5a',
    500: '#3f6317',
    950: '#000000',
  },
}
SCSS
$custom: #3f6317;
$custom-light: #778f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6317",
  "rgb": {
    "r": 63,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 88.421,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45598,
    "c": 0.11113,
    "h": 131.7
  },
  "luminance": 0.10042
}

Semantic roles & 50–950 ramp

primary
#3F6317
secondary
#683C9A
accent
#42E590
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3F6317

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

Preview Lab → · Contrast checker → · Palette generator →

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