#4A6F15#4A6F15

#4A6F15 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.6% C 0.123 H 130.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4A6F15
RGBrgb(74, 111, 21)
HSLhsl(85, 68%, 26%)
HSVhsv(85, 81%, 44%)
CMYKcmyk(33.3%, 0%, 81.1%, 56.5%)
CIE-LABlab(42.58, -27.65, 42.39)
CIE-LCHlch(42.58, 50.61, 123.11°)
OKLaboklab(49.57% -0.0788 0.0938)
OKLCHoklch(49.57% 0.123 130)
XYZxyz(8.6438, 12.8786, 2.7397)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6F15 #3A156F
analogous
#6F6715 #4A6F15 #1D6F15
triadic
#4A6F15 #154A6F #6F154A
tetradic
#4A6F15 #156F67 #3A156F #6F151D
square
#4A6F15 #156F67 #3A156F #6F151D
split-complementary
#4A6F15 #151D6F #67156F
monochromatic
#111A05 #283C0B #4A6F15 #6CA21F #8FD628

Accessibility & contrast

On white

5.87
#4A6F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4A6F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6F15
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6F15#FFFFFF#000000##FFFFFF
##4A6F151.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6F641E
Tritanopia (blue-blind)
#4C6A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a6f15;
/* rgb */ color: rgb(74, 111, 21);
/* oklch */ color: oklch(49.6% 0.123 130.0);
Tailwind
colors: {
  custom: {
    50: '#80985b',
    500: '#4a6f15',
    950: '#000000',
  },
}
SCSS
$custom: #4a6f15;
$custom-light: #80985b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6f15",
  "rgb": {
    "r": 74,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 84.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49569,
    "c": 0.12255,
    "h": 130
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#4A6F15
secondary
#663AA5
accent
#3DEB84
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4A6F15

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

Preview Lab → · Contrast checker → · Palette generator →

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