#3A7214#3A7214

#3A7214 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.5% C 0.136 H 136.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#3A7214
RGBrgb(58, 114, 20)
HSLhsl(96, 70%, 26%)
HSVhsv(96, 82%, 45%)
CMYKcmyk(49.1%, 0%, 82.5%, 55.3%)
CIE-LABlab(42.74, -35.09, 42.58)
CIE-LCHlch(42.74, 55.17, 129.49°)
OKLaboklab(49.47% -0.0979 0.0944)
OKLCHoklch(49.47% 0.136 136)
XYZxyz(7.8883, 12.9842, 2.7522)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7214 #4C1472
analogous
#697214 #3A7214 #14721D
triadic
#3A7214 #143A72 #72143A
tetradic
#3A7214 #146972 #4C1472 #721D14
square
#3A7214 #146972 #4C1472 #721D14
split-complementary
#3A7214 #1D1472 #721469
monochromatic
#0D1A05 #203E0B #3A7214 #54A61D #6FD927

Accessibility & contrast

On white

5.84
#3A7214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3A7214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A7214
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7214#FFFFFF#000000##FFFFFF
##3A72141.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#386D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a7214;
/* rgb */ color: rgb(58, 114, 20);
/* oklch */ color: oklch(49.5% 0.136 136.0);
Tailwind
colors: {
  custom: {
    50: '#769b5a',
    500: '#3a7214',
    950: '#000000',
  },
}
SCSS
$custom: #3a7214;
$custom-light: #769b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7214",
  "rgb": {
    "r": 58,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 95.745,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49471,
    "c": 0.13596,
    "h": 136
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#3A7214
secondary
#7C39A8
accent
#3BEDA5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A7214

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

Preview Lab → · Contrast checker → · Palette generator →

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