#4A6115#4A6115

#4A6115 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.8% C 0.104 H 125.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4A6115
RGBrgb(74, 97, 21)
HSLhsl(78, 64%, 23%)
HSVhsv(78, 78%, 38%)
CMYKcmyk(23.7%, 0%, 78.4%, 62%)
CIE-LABlab(37.95, -20.64, 37.97)
CIE-LCHlch(37.95, 43.22, 118.53°)
OKLaboklab(45.81% -0.0598 0.0845)
OKLCHoklch(45.81% 0.104 125.3)
XYZxyz(7.2341, 10.0593, 2.2698)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6115 #2C1561
analogous
#615215 #4A6115 #246115
triadic
#4A6115 #154A61 #61154A
tetradic
#4A6115 #156152 #2C1561 #611524
square
#4A6115 #156152 #2C1561 #611524
split-complementary
#4A6115 #152461 #521561
monochromatic
#131905 #242F0A #4A6115 #709320 #97C62B

Accessibility & contrast

On white

6.97
#4A6115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4A6115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6115
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6115#FFFFFF#000000##FFFFFF
##4A61151.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A06
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#4E5C52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a6115;
/* rgb */ color: rgb(74, 97, 21);
/* oklch */ color: oklch(45.8% 0.104 125.3);
Tailwind
colors: {
  custom: {
    50: '#7f8e59',
    500: '#4a6115',
    950: '#000000',
  },
}
SCSS
$custom: #4a6115;
$custom-light: #7f8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6115",
  "rgb": {
    "r": 74,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 78.158,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45806,
    "c": 0.10353,
    "h": 125.3
  },
  "luminance": 0.10059
}

Semantic roles & 50–950 ramp

primary
#4A6115
secondary
#563A98
accent
#40E773
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4A6115

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

Preview Lab → · Contrast checker → · Palette generator →

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