#3A700F#3A700F

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

Color values

HEX#3A700F
RGBrgb(58, 112, 15)
HSLhsl(93, 76%, 25%)
HSVhsv(93, 87%, 44%)
CMYKcmyk(48.2%, 0%, 86.6%, 56.1%)
CIE-LABlab(42.03, -34.50, 43.46)
CIE-LCHlch(42.03, 55.49, 128.44°)
OKLaboklab(48.88% -0.0966 0.0955)
OKLCHoklch(48.88% 0.136 135.3)
XYZxyz(7.6251, 12.5219, 2.4670)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A700F #450F70
analogous
#6B700F #3A700F #0F7014
triadic
#3A700F #0F3A70 #700F3A
tetradic
#3A700F #0F6B70 #450F70 #70140F
square
#3A700F #0F6B70 #450F70 #70140F
split-complementary
#3A700F #140F70 #700F6B
monochromatic
#0E1B04 #1E3A08 #3A700F #56A616 #72DC1D

Accessibility & contrast

On white

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

On black

3.50
#3A700F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3A700F#FFFFFF#000000##FFFFFF
##3A700F1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a700f;
/* rgb */ color: rgb(58, 112, 15);
/* oklch */ color: oklch(48.9% 0.136 135.3);
Tailwind
colors: {
  custom: {
    50: '#769958',
    500: '#3a700f',
    950: '#000000',
  },
}
SCSS
$custom: #3a700f;
$custom-light: #769958;
$custom-dark: #000000;
JSON
{
  "hex": "#3a700f",
  "rgb": {
    "r": 58,
    "g": 112,
    "b": 15
  },
  "hsl": {
    "h": 93.402,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48883,
    "c": 0.1358,
    "h": 135.3
  },
  "luminance": 0.12522
}

Semantic roles & 50–950 ramp

primary
#3A700F
secondary
#7433A8
accent
#35F39F
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A700F

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

Preview Lab → · Contrast checker → · Palette generator →

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