#4A6415#4A6415

#4A6415 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.6% C 0.108 H 126.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4A6415
RGBrgb(74, 100, 21)
HSLhsl(80, 65%, 24%)
HSVhsv(80, 79%, 39%)
CMYKcmyk(26%, 0%, 79%, 60.8%)
CIE-LABlab(38.94, -22.19, 38.93)
CIE-LCHlch(38.94, 44.81, 119.69°)
OKLaboklab(46.61% -0.064 0.0866)
OKLCHoklch(46.61% 0.108 126.5)
XYZxyz(7.5166, 10.6242, 2.3640)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6415 #2F1564
analogous
#645615 #4A6415 #226415
triadic
#4A6415 #154A64 #64154A
tetradic
#4A6415 #156456 #2F1564 #641522
square
#4A6415 #156456 #2F1564 #641522
split-complementary
#4A6415 #152264 #561564
monochromatic
#131905 #25310A #4A6415 #6F9720 #95C92A

Accessibility & contrast

On white

6.72
#4A6415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4A6415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6415
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6415#FFFFFF#000000##FFFFFF
##4A64151.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D05
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#4D5F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a6415;
/* rgb */ color: rgb(74, 100, 21);
/* oklch */ color: oklch(46.6% 0.108 126.5);
Tailwind
colors: {
  custom: {
    50: '#7f9059',
    500: '#4a6415',
    950: '#000000',
  },
}
SCSS
$custom: #4a6415;
$custom-light: #7f9059;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6415",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 79.747,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4661,
    "c": 0.10764,
    "h": 126.5
  },
  "luminance": 0.10624
}

Semantic roles & 50–950 ramp

primary
#4A6415
secondary
#5A3A9B
accent
#40E877
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4A6415

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

Preview Lab → · Contrast checker → · Palette generator →

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