#4A6915#4A6915

#4A6915 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.0% C 0.114 H 128.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4A6915
RGBrgb(74, 105, 21)
HSLhsl(82, 67%, 25%)
HSVhsv(82, 80%, 41%)
CMYKcmyk(29.5%, 0%, 80%, 58.8%)
CIE-LABlab(40.59, -24.72, 40.51)
CIE-LCHlch(40.59, 47.46, 121.39°)
OKLaboklab(47.95% -0.0709 0.0899)
OKLCHoklch(47.95% 0.114 128.3)
XYZxyz(8.0110, 11.6129, 2.5288)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6915 #341569
analogous
#695E15 #4A6915 #206915
triadic
#4A6915 #154A69 #69154A
tetradic
#4A6915 #15695E #341569 #691520
square
#4A6915 #15695E #341569 #691520
split-complementary
#4A6915 #152069 #5E1569
monochromatic
#121A05 #26360B #4A6915 #6E9C1F #92CF29

Accessibility & contrast

On white

6.32
#4A6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4A6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6915
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6915#FFFFFF#000000##FFFFFF
##4A69151.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6103
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#4D6459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a6915;
/* rgb */ color: rgb(74, 105, 21);
/* oklch */ color: oklch(48.0% 0.114 128.3);
Tailwind
colors: {
  custom: {
    50: '#80945a',
    500: '#4a6915',
    950: '#000000',
  },
}
SCSS
$custom: #4a6915;
$custom-light: #80945a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6915",
  "rgb": {
    "r": 74,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 82.143,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47953,
    "c": 0.11447,
    "h": 128.3
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#4A6915
secondary
#603AA0
accent
#3EEA7D
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6915

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

Preview Lab → · Contrast checker → · Palette generator →

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