#3A7310#3A7310

#3A7310 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.7% C 0.139 H 135.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#3A7310
RGBrgb(58, 115, 16)
HSLhsl(95, 76%, 26%)
HSVhsv(95, 86%, 45%)
CMYKcmyk(49.6%, 0%, 86.1%, 54.9%)
CIE-LABlab(43.06, -35.73, 44.11)
CIE-LCHlch(43.06, 56.76, 129.01°)
OKLaboklab(49.73% -0.0998 0.097)
OKLCHoklch(49.73% 0.139 135.8)
XYZxyz(7.9690, 13.1979, 2.6176)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7310 #491073
analogous
#6B7310 #3A7310 #107317
triadic
#3A7310 #103A73 #73103A
tetradic
#3A7310 #106B73 #491073 #731710
square
#3A7310 #106B73 #491073 #731710
split-complementary
#3A7310 #171073 #73106B
monochromatic
#0E1B04 #1F3D09 #3A7310 #55A917 #70DE1F

Accessibility & contrast

On white

5.77
#3A7310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3A7310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7310
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7310#FFFFFF#000000##FFFFFF
##3A73101.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#70641C
Tritanopia (blue-blind)
#386E61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3a7310;
/* rgb */ color: rgb(58, 115, 16);
/* oklch */ color: oklch(49.7% 0.139 135.8);
Tailwind
colors: {
  custom: {
    50: '#779c59',
    500: '#3a7310',
    950: '#000000',
  },
}
SCSS
$custom: #3a7310;
$custom-light: #779c59;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7310",
  "rgb": {
    "r": 58,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 94.545,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49728,
    "c": 0.13916,
    "h": 135.8
  },
  "luminance": 0.13198
}

Semantic roles & 50–950 ramp

primary
#3A7310
secondary
#7834AA
accent
#36F2A2
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7310

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

Preview Lab → · Contrast checker → · Palette generator →

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