#4A5F11#4A5F11

#4A5F11 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.2% C 0.103 H 124.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4A5F11
RGBrgb(74, 95, 17)
HSLhsl(76, 70%, 22%)
HSVhsv(76, 82%, 37%)
CMYKcmyk(22.1%, 0%, 82.1%, 62.7%)
CIE-LABlab(37.26, -19.82, 38.81)
CIE-LCHlch(37.26, 43.58, 117.06°)
OKLaboklab(45.24% -0.0579 0.0856)
OKLCHoklch(45.24% 0.103 124.1)
XYZxyz(7.0175, 9.6807, 2.0291)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5F11 #26115F
analogous
#5F4D11 #4A5F11 #235F11
triadic
#4A5F11 #114A5F #5F114A
tetradic
#4A5F11 #115F4D #26115F #5F1123
square
#4A5F11 #115F4D #26115F #5F1123
split-complementary
#4A5F11 #11235F #4D115F
monochromatic
#141A05 #222B08 #4A5F11 #72931A #9BC724

Accessibility & contrast

On white

7.15
#4A5F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4A5F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5F11
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5F11#FFFFFF#000000##FFFFFF
##4A5F111.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#625719
Tritanopia (blue-blind)
#4E5A50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a5f11;
/* rgb */ color: rgb(74, 95, 17);
/* oklch */ color: oklch(45.2% 0.103 124.1);
Tailwind
colors: {
  custom: {
    50: '#7f8c56',
    500: '#4a5f11',
    950: '#000000',
  },
}
SCSS
$custom: #4a5f11;
$custom-light: #7f8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5f11",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 76.154,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45243,
    "c": 0.10331,
    "h": 124.1
  },
  "luminance": 0.09681
}

Semantic roles & 50–950 ramp

primary
#4A5F11
secondary
#4F3498
accent
#3BEC6B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4A5F11

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

Preview Lab → · Contrast checker → · Palette generator →

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