#4A7414#4A7414

#4A7414 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 50.9% C 0.130 H 131.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4A7414
RGBrgb(74, 116, 20)
HSLhsl(86, 71%, 27%)
HSVhsv(86, 83%, 45%)
CMYKcmyk(36.2%, 0%, 82.8%, 54.5%)
CIE-LABlab(44.23, -30.07, 44.26)
CIE-LCHlch(44.23, 53.51, 124.19°)
OKLaboklab(50.91% -0.0854 0.0976)
OKLCHoklch(50.91% 0.13 131.2)
XYZxyz(9.1956, 13.9968, 2.8788)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7414 #3E1474
analogous
#746E14 #4A7414 #1A7414
triadic
#4A7414 #144A74 #74144A
tetradic
#4A7414 #14746E #3E1474 #74141A
square
#4A7414 #14746E #3E1474 #74141A
split-complementary
#4A7414 #141A74 #6E1474
monochromatic
#111A05 #29400B #4A7414 #6BA81D #8CDA28

Accessibility & contrast

On white

5.53
#4A7414 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4A7414 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7414
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7414#FFFFFF#000000##FFFFFF
##4A74141.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B00
Deuteranopia (green-blind)
#74671F
Tritanopia (blue-blind)
#4C6F62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a7414;
/* rgb */ color: rgb(74, 116, 20);
/* oklch */ color: oklch(50.9% 0.130 131.2);
Tailwind
colors: {
  custom: {
    50: '#819c5b',
    500: '#4a7414',
    950: '#000000',
  },
}
SCSS
$custom: #4a7414;
$custom-light: #819c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7414",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 20
  },
  "hsl": {
    "h": 86.25,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50912,
    "c": 0.1297,
    "h": 131.2
  },
  "luminance": 0.13997
}

Semantic roles & 50–950 ramp

primary
#4A7414
secondary
#6B3AAA
accent
#3AED89
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7414

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

Preview Lab → · Contrast checker → · Palette generator →

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