#4A7511#4A7511

#4A7511 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.2% C 0.132 H 131.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4A7511
RGBrgb(74, 117, 17)
HSLhsl(86, 75%, 26%)
HSVhsv(86, 85%, 46%)
CMYKcmyk(36.8%, 0%, 85.5%, 54.1%)
CIE-LABlab(44.54, -30.68, 45.46)
CIE-LCHlch(44.54, 54.84, 124.02°)
OKLaboklab(51.17% -0.0873 0.0996)
OKLCHoklch(51.17% 0.132 131.2)
XYZxyz(9.2864, 14.2185, 2.7854)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7511 #3C1175
analogous
#756E11 #4A7511 #187511
triadic
#4A7511 #114A75 #75114A
tetradic
#4A7511 #11756E #3C1175 #751118
square
#4A7511 #11756E #3C1175 #751118
split-complementary
#4A7511 #111875 #6E1175
monochromatic
#111B04 #284009 #4A7511 #6CAA19 #8DDF22

Accessibility & contrast

On white

5.46
#4A7511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4A7511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7511
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7511#FFFFFF#000000##FFFFFF
##4A75111.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6B00
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#4C7063
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a7511;
/* rgb */ color: rgb(74, 117, 17);
/* oklch */ color: oklch(51.2% 0.132 131.2);
Tailwind
colors: {
  custom: {
    50: '#819d5a',
    500: '#4a7511',
    950: '#000000',
  },
}
SCSS
$custom: #4a7511;
$custom-light: #819d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7511",
  "rgb": {
    "r": 74,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 85.8,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51166,
    "c": 0.13244,
    "h": 131.2
  },
  "luminance": 0.14219
}

Semantic roles & 50–950 ramp

primary
#4A7511
secondary
#6936AC
accent
#37F187
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7511

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

Preview Lab → · Contrast checker → · Palette generator →

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