#3A6315#3A6315

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

Color values

HEX#3A6315
RGBrgb(58, 99, 21)
HSLhsl(92, 65%, 24%)
HSVhsv(92, 79%, 39%)
CMYKcmyk(41.4%, 0%, 78.8%, 61.2%)
CIE-LABlab(37.62, -28.33, 37.31)
CIE-LCHlch(37.62, 46.85, 127.20°)
OKLaboklab(45.28% -0.0796 0.0835)
OKLCHoklch(45.28% 0.115 133.6)
XYZxyz(6.3420, 9.8771, 2.2816)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6315 #3E1563
analogous
#616315 #3A6315 #156317
triadic
#3A6315 #153A63 #63153A
tetradic
#3A6315 #156163 #3E1563 #631715
square
#3A6315 #156163 #3E1563 #631715
split-complementary
#3A6315 #171563 #631561
monochromatic
#0F1905 #1C310A #3A6315 #589520 #75C82A

Accessibility & contrast

On white

7.06
#3A6315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A6315
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6315#FFFFFF#000000##FFFFFF
##3A63151.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a6315;
/* rgb */ color: rgb(58, 99, 21);
/* oklch */ color: oklch(45.3% 0.115 133.6);
Tailwind
colors: {
  custom: {
    50: '#749059',
    500: '#3a6315',
    950: '#000000',
  },
}
SCSS
$custom: #3a6315;
$custom-light: #749059;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6315",
  "rgb": {
    "r": 58,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 91.538,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45275,
    "c": 0.11536,
    "h": 133.6
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#3A6315
secondary
#6C3A9A
accent
#40E898
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3A6315

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

Preview Lab → · Contrast checker → · Palette generator →

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