#4A5811#4A5811

#4A5811 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.4% C 0.094 H 120.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4A5811
RGBrgb(74, 88, 17)
HSLhsl(72, 68%, 21%)
HSVhsv(72, 81%, 35%)
CMYKcmyk(15.9%, 0%, 80.7%, 65.5%)
CIE-LABlab(34.95, -16.06, 36.64)
CIE-LCHlch(34.95, 40.00, 113.67°)
OKLaboklab(43.38% -0.0476 0.081)
OKLCHoklch(43.38% 0.094 120.4)
XYZxyz(6.4151, 8.4758, 1.8282)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5811 #1F1158
analogous
#584211 #4A5811 #265811
triadic
#4A5811 #114A58 #58114A
tetradic
#4A5811 #115842 #1F1158 #581126
square
#4A5811 #115842 #1F1158 #581126
split-complementary
#4A5811 #112658 #421158
monochromatic
#161A05 #1F2507 #4A5811 #758B1B #A0BF25

Accessibility & contrast

On white

7.79
#4A5811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4A5811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5811
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5811#FFFFFF#000000##FFFFFF
##4A58111.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5203
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#4F534B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4a5811;
/* rgb */ color: rgb(74, 88, 17);
/* oklch */ color: oklch(43.4% 0.094 120.4);
Tailwind
colors: {
  custom: {
    50: '#7f8755',
    500: '#4a5811',
    950: '#000000',
  },
}
SCSS
$custom: #4a5811;
$custom-light: #7f8755;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5811",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 71.831,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43379,
    "c": 0.09393,
    "h": 120.4
  },
  "luminance": 0.08476
}

Semantic roles & 50–950 ramp

primary
#4A5811
secondary
#463491
accent
#3DEA5F
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A5811

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

Preview Lab → · Contrast checker → · Palette generator →

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