#3A6318#3A6318

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

Color values

HEX#3A6318
RGBrgb(58, 99, 24)
HSLhsl(93, 61%, 24%)
HSVhsv(93, 76%, 39%)
CMYKcmyk(41.4%, 0%, 75.8%, 61.2%)
CIE-LABlab(37.64, -28.10, 36.12)
CIE-LCHlch(37.64, 45.77, 127.88°)
OKLaboklab(45.3% -0.0787 0.0815)
OKLCHoklch(45.3% 0.113 134)
XYZxyz(6.3715, 9.8889, 2.4370)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6318 #411863
analogous
#606318 #3A6318 #18631C
triadic
#3A6318 #183A63 #63183A
tetradic
#3A6318 #186063 #411863 #631C18
square
#3A6318 #186063 #411863 #631C18
split-complementary
#3A6318 #1C1863 #631860
monochromatic
#0E1906 #1D320C #3A6318 #579424 #74C630

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A6318#FFFFFF#000000##FFFFFF
##3A63181.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)
#675B0B
Deuteranopia (green-blind)
#62571F
Tritanopia (blue-blind)
#3A5F54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a6318;
/* rgb */ color: rgb(58, 99, 24);
/* oklch */ color: oklch(45.3% 0.113 134.0);
Tailwind
colors: {
  custom: {
    50: '#74905a',
    500: '#3a6318',
    950: '#000000',
  },
}
SCSS
$custom: #3a6318;
$custom-light: #74905a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6318",
  "rgb": {
    "r": 58,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 92.8,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45299,
    "c": 0.11332,
    "h": 134
  },
  "luminance": 0.09889
}

Semantic roles & 50–950 ramp

primary
#3A6318
secondary
#703E99
accent
#44E49B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A6318

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

Preview Lab → · Contrast checker → · Palette generator →

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