#3A7010#3A7010

#3A7010 is a mid, vivid yellow-green. Relative luminance 0.125; OKLCH L 48.9% C 0.135 H 135.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3A7010
RGBrgb(58, 112, 16)
HSLhsl(94, 75%, 25%)
HSVhsv(94, 86%, 44%)
CMYKcmyk(48.2%, 0%, 85.7%, 56.1%)
CIE-LABlab(42.04, -34.45, 43.18)
CIE-LCHlch(42.04, 55.24, 128.59°)
OKLaboklab(48.89% -0.0964 0.095)
OKLCHoklch(48.89% 0.135 135.4)
XYZxyz(7.6324, 12.5248, 2.5055)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7010 #461070
analogous
#6A7010 #3A7010 #107016
triadic
#3A7010 #103A70 #70103A
tetradic
#3A7010 #106A70 #461070 #701610
square
#3A7010 #106A70 #461070 #701610
split-complementary
#3A7010 #161070 #70106A
monochromatic
#0E1B04 #1E3A08 #3A7010 #56A618 #71DB1F

Accessibility & contrast

On white

5.99
#3A7010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A7010
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7010#FFFFFF#000000##FFFFFF
##3A70101.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6D621C
Tritanopia (blue-blind)
#386B5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a7010;
/* rgb */ color: rgb(58, 112, 16);
/* oklch */ color: oklch(48.9% 0.135 135.4);
Tailwind
colors: {
  custom: {
    50: '#769958',
    500: '#3a7010',
    950: '#000000',
  },
}
SCSS
$custom: #3a7010;
$custom-light: #769958;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7010",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 93.75,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48888,
    "c": 0.13535,
    "h": 135.4
  },
  "luminance": 0.12525
}

Semantic roles & 50–950 ramp

primary
#3A7010
secondary
#7534A8
accent
#36F2A0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7010

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

Preview Lab → · Contrast checker → · Palette generator →

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