#4A701A#4A701A

#4A701A is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.9% C 0.121 H 130.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4A701A
RGBrgb(74, 112, 26)
HSLhsl(87, 62%, 27%)
HSVhsv(87, 77%, 44%)
CMYKcmyk(33.9%, 0%, 76.8%, 56.1%)
CIE-LABlab(42.94, -27.82, 40.91)
CIE-LCHlch(42.94, 49.48, 124.22°)
OKLaboklab(49.87% -0.0789 0.0916)
OKLCHoklch(49.87% 0.121 130.7)
XYZxyz(8.8046, 13.1185, 3.0453)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A701A #401A70
analogous
#706B1A #4A701A #1F701A
triadic
#4A701A #1A4A70 #701A4A
tetradic
#4A701A #1A706B #401A70 #701A1F
square
#4A701A #1A706B #401A70 #701A1F
split-complementary
#4A701A #1A1F70 #6B1A70
monochromatic
#101906 #293E0E #4A701A #6BA226 #8BD034

Accessibility & contrast

On white

5.80
#4A701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4A701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A701A
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A701A#FFFFFF#000000##FFFFFF
##4A701A1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756709
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#4C6B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a701a;
/* rgb */ color: rgb(74, 112, 26);
/* oklch */ color: oklch(49.9% 0.121 130.7);
Tailwind
colors: {
  custom: {
    50: '#80995d',
    500: '#4a701a',
    950: '#000000',
  },
}
SCSS
$custom: #4a701a;
$custom-light: #80995d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a701a",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 86.512,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49873,
    "c": 0.12087,
    "h": 130.7
  },
  "luminance": 0.13119
}

Semantic roles & 50–950 ramp

primary
#4A701A
secondary
#6D41A5
accent
#42E58A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #4A701A

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

Preview Lab → · Contrast checker → · Palette generator →

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