#4A5E11#4A5E11

#4A5E11 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 45.0% C 0.102 H 123.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4A5E11
RGBrgb(74, 94, 17)
HSLhsl(76, 69%, 22%)
HSVhsv(76, 82%, 37%)
CMYKcmyk(21.3%, 0%, 81.9%, 63.1%)
CIE-LABlab(36.93, -19.30, 38.50)
CIE-LCHlch(36.93, 43.07, 116.62°)
OKLaboklab(44.98% -0.0564 0.0849)
OKLCHoklch(44.98% 0.102 123.6)
XYZxyz(6.9280, 9.5017, 1.9992)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5E11 #25115E
analogous
#5E4C11 #4A5E11 #245E11
triadic
#4A5E11 #114A5E #5E114A
tetradic
#4A5E11 #115E4C #25115E #5E1124
square
#4A5E11 #115E4C #25115E #5E1124
split-complementary
#4A5E11 #11245E #4C115E
monochromatic
#141A05 #212A08 #4A5E11 #73921A #9CC624

Accessibility & contrast

On white

7.24
#4A5E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4A5E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5E11
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5E11#FFFFFF#000000##FFFFFF
##4A5E111.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645701
Deuteranopia (green-blind)
#615719
Tritanopia (blue-blind)
#4E5950
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a5e11;
/* rgb */ color: rgb(74, 94, 17);
/* oklch */ color: oklch(45.0% 0.102 123.6);
Tailwind
colors: {
  custom: {
    50: '#7f8b56',
    500: '#4a5e11',
    950: '#000000',
  },
}
SCSS
$custom: #4a5e11;
$custom-light: #7f8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5e11",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 75.584,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44976,
    "c": 0.10197,
    "h": 123.6
  },
  "luminance": 0.09502
}

Semantic roles & 50–950 ramp

primary
#4A5E11
secondary
#4E3497
accent
#3CEC69
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4A5E11

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

Preview Lab → · Contrast checker → · Palette generator →

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