#3A6314#3A6314

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

Color values

HEX#3A6314
RGBrgb(58, 99, 20)
HSLhsl(91, 66%, 23%)
HSVhsv(91, 80%, 39%)
CMYKcmyk(41.4%, 0%, 79.8%, 61.2%)
CIE-LABlab(37.61, -28.39, 37.69)
CIE-LCHlch(37.61, 47.19, 126.99°)
OKLaboklab(45.27% -0.0798 0.0842)
OKLCHoklch(45.27% 0.116 133.5)
XYZxyz(6.3329, 9.8734, 2.2338)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6314 #3D1463
analogous
#616314 #3A6314 #146315
triadic
#3A6314 #143A63 #63143A
tetradic
#3A6314 #146163 #3D1463 #631514
square
#3A6314 #146163 #3D1463 #631514
split-complementary
#3A6314 #151463 #631461
monochromatic
#0F1905 #1C300A #3A6314 #58961E #76C929

Accessibility & contrast

On white

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

On black

2.97
#3A6314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3A6314#FFFFFF#000000##FFFFFF
##3A63141.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B04
Deuteranopia (green-blind)
#62571C
Tritanopia (blue-blind)
#3A5F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a6314;
/* rgb */ color: rgb(58, 99, 20);
/* oklch */ color: oklch(45.3% 0.116 133.5);
Tailwind
colors: {
  custom: {
    50: '#749058',
    500: '#3a6314',
    950: '#000000',
  },
}
SCSS
$custom: #3a6314;
$custom-light: #749058;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6314",
  "rgb": {
    "r": 58,
    "g": 99,
    "b": 20
  },
  "hsl": {
    "h": 91.139,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45268,
    "c": 0.11598,
    "h": 133.5
  },
  "luminance": 0.09874
}

Semantic roles & 50–950 ramp

primary
#3A6314
secondary
#6B389A
accent
#3EE997
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3A6314

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

Preview Lab → · Contrast checker → · Palette generator →

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