#3A701A#3A701A

#3A701A is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 49.0% C 0.130 H 136.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#3A701A
RGBrgb(58, 112, 26)
HSLhsl(98, 62%, 27%)
HSVhsv(98, 77%, 44%)
CMYKcmyk(48.2%, 0%, 76.8%, 56.1%)
CIE-LABlab(42.10, -33.83, 39.79)
CIE-LCHlch(42.10, 52.23, 130.37°)
OKLaboklab(48.95% -0.094 0.0895)
OKLCHoklch(48.95% 0.13 136.4)
XYZxyz(7.7253, 12.5620, 2.9947)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A701A #501A70
analogous
#65701A #3A701A #1A7025
triadic
#3A701A #1A3A70 #701A3A
tetradic
#3A701A #1A6570 #501A70 #70251A
square
#3A701A #1A6570 #501A70 #70251A
split-complementary
#3A701A #251A70 #701A65
monochromatic
#0D1906 #203E0E #3A701A #54A226 #6ED034

Accessibility & contrast

On white

5.98
#3A701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3A701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A701A
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A701A#FFFFFF#000000##FFFFFF
##3A701A1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660A
Deuteranopia (green-blind)
#6D6223
Tritanopia (blue-blind)
#376C5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a701a;
/* rgb */ color: rgb(58, 112, 26);
/* oklch */ color: oklch(49.0% 0.130 136.4);
Tailwind
colors: {
  custom: {
    50: '#76995d',
    500: '#3a701a',
    950: '#000000',
  },
}
SCSS
$custom: #3a701a;
$custom-light: #76995d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a701a",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 97.674,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48954,
    "c": 0.12984,
    "h": 136.4
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#3A701A
secondary
#8041A5
accent
#42E5A9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A701A

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

Preview Lab → · Contrast checker → · Palette generator →

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