#3A701C#3A701C

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

Color values

HEX#3A701C
RGBrgb(58, 112, 28)
HSLhsl(99, 60%, 27%)
HSVhsv(99, 75%, 44%)
CMYKcmyk(48.2%, 0%, 75%, 56.1%)
CIE-LABlab(42.11, -33.67, 39.01)
CIE-LCHlch(42.11, 51.53, 130.80°)
OKLaboklab(48.97% -0.0935 0.0882)
OKLCHoklch(48.97% 0.129 136.7)
XYZxyz(7.7485, 12.5712, 3.1166)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A701C #521C70
analogous
#64701C #3A701C #1C7028
triadic
#3A701C #1C3A70 #701C3A
tetradic
#3A701C #1C6470 #521C70 #70281C
square
#3A701C #1C6470 #521C70 #70281C
split-complementary
#3A701C #281C70 #701C64
monochromatic
#0D1806 #213F10 #3A701C #53A128 #6ECD39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A701C#FFFFFF#000000##FFFFFF
##3A701C1.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)
#74660E
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#376C60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a701c;
/* rgb */ color: rgb(58, 112, 28);
/* oklch */ color: oklch(49.0% 0.129 136.7);
Tailwind
colors: {
  custom: {
    50: '#76995e',
    500: '#3a701c',
    950: '#000000',
  },
}
SCSS
$custom: #3a701c;
$custom-light: #76995e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a701c",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 98.571,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4897,
    "c": 0.12851,
    "h": 136.7
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#3A701C
secondary
#8243A5
accent
#45E3AB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3A701C

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

Preview Lab → · Contrast checker → · Palette generator →

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