#4A6F11#4A6F11

#4A6F11 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.5% C 0.125 H 129.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#4A6F11
RGBrgb(74, 111, 17)
HSLhsl(84, 73%, 25%)
HSVhsv(84, 85%, 44%)
CMYKcmyk(33.3%, 0%, 84.7%, 56.5%)
CIE-LABlab(42.56, -27.86, 43.67)
CIE-LCHlch(42.56, 51.80, 122.53°)
OKLaboklab(49.55% -0.0797 0.0958)
OKLCHoklch(49.55% 0.125 129.7)
XYZxyz(8.6096, 12.8649, 2.5598)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6F11 #36116F
analogous
#6F6511 #4A6F11 #1B6F11
triadic
#4A6F11 #114A6F #6F114A
tetradic
#4A6F11 #116F65 #36116F #6F111B
square
#4A6F11 #116F65 #36116F #6F111B
split-complementary
#4A6F11 #111B6F #65116F
monochromatic
#121B04 #273A09 #4A6F11 #6DA419 #91D921

Accessibility & contrast

On white

5.88
#4A6F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4A6F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6F11
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6F11#FFFFFF#000000##FFFFFF
##4A6F111.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#70641C
Tritanopia (blue-blind)
#4C6A5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a6f11;
/* rgb */ color: rgb(74, 111, 17);
/* oklch */ color: oklch(49.5% 0.125 129.7);
Tailwind
colors: {
  custom: {
    50: '#809859',
    500: '#4a6f11',
    950: '#000000',
  },
}
SCSS
$custom: #4a6f11;
$custom-light: #809859;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6f11",
  "rgb": {
    "r": 74,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 83.617,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49546,
    "c": 0.12464,
    "h": 129.7
  },
  "luminance": 0.12865
}

Semantic roles & 50–950 ramp

primary
#4A6F11
secondary
#6235A6
accent
#38F080
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4A6F11

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

Preview Lab → · Contrast checker → · Palette generator →

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