#3A6317#3A6317

#3A6317 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.3% C 0.114 H 133.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3A6317
RGBrgb(58, 99, 23)
HSLhsl(92, 62%, 24%)
HSVhsv(92, 77%, 39%)
CMYKcmyk(41.4%, 0%, 76.8%, 61.2%)
CIE-LABlab(37.63, -28.18, 36.53)
CIE-LCHlch(37.63, 46.14, 127.65°)
OKLaboklab(45.29% -0.079 0.0822)
OKLCHoklch(45.29% 0.114 133.9)
XYZxyz(6.3613, 9.8848, 2.3832)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6317 #401763
analogous
#606317 #3A6317 #17631A
triadic
#3A6317 #173A63 #63173A
tetradic
#3A6317 #176063 #401763 #631A17
square
#3A6317 #176063 #401763 #631A17
split-complementary
#3A6317 #1A1763 #631760
monochromatic
#0F1906 #1D310B #3A6317 #579523 #74C62E

Accessibility & contrast

On white

7.05
#3A6317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3A6317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A6317
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6317#FFFFFF#000000##FFFFFF
##3A63171.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B09
Deuteranopia (green-blind)
#62571E
Tritanopia (blue-blind)
#3A5F54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a6317;
/* rgb */ color: rgb(58, 99, 23);
/* oklch */ color: oklch(45.3% 0.114 133.9);
Tailwind
colors: {
  custom: {
    50: '#74905a',
    500: '#3a6317',
    950: '#000000',
  },
}
SCSS
$custom: #3a6317;
$custom-light: #74905a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6317",
  "rgb": {
    "r": 58,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 92.368,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45291,
    "c": 0.11402,
    "h": 133.9
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#3A6317
secondary
#6F3C9A
accent
#42E59A
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A6317

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

Preview Lab → · Contrast checker → · Palette generator →

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