#4A6715#4A6715

#4A6715 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.4% C 0.112 H 127.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4A6715
RGBrgb(74, 103, 21)
HSLhsl(81, 66%, 24%)
HSVhsv(81, 80%, 40%)
CMYKcmyk(28.2%, 0%, 79.6%, 59.6%)
CIE-LABlab(39.93, -23.72, 39.88)
CIE-LCHlch(39.93, 46.40, 120.74°)
OKLaboklab(47.42% -0.0681 0.0886)
OKLCHoklch(47.42% 0.112 127.6)
XYZxyz(7.8097, 11.2103, 2.4617)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6715 #321567
analogous
#675B15 #4A6715 #216715
triadic
#4A6715 #154A67 #67154A
tetradic
#4A6715 #15675B #321567 #671521
square
#4A6715 #15675B #321567 #671521
split-complementary
#4A6715 #152167 #5B1567
monochromatic
#121905 #25340B #4A6715 #6F9A1F #93CD2A

Accessibility & contrast

On white

6.48
#4A6715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4A6715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6715
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6715#FFFFFF#000000##FFFFFF
##4A67151.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F04
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#4D6257
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a6715;
/* rgb */ color: rgb(74, 103, 21);
/* oklch */ color: oklch(47.4% 0.112 127.6);
Tailwind
colors: {
  custom: {
    50: '#809259',
    500: '#4a6715',
    950: '#000000',
  },
}
SCSS
$custom: #4a6715;
$custom-light: #809259;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6715",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 81.22,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47415,
    "c": 0.11174,
    "h": 127.6
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

primary
#4A6715
secondary
#5D3A9E
accent
#3FE97B
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6715

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

Preview Lab → · Contrast checker → · Palette generator →

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