#4A6810#4A6810

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

Color values

HEX#4A6810
RGBrgb(74, 104, 16)
HSLhsl(80, 73%, 24%)
HSVhsv(80, 85%, 41%)
CMYKcmyk(28.8%, 0%, 84.6%, 59.2%)
CIE-LABlab(40.24, -24.49, 41.87)
CIE-LCHlch(40.24, 48.51, 120.32°)
OKLaboklab(47.65% -0.0706 0.0919)
OKLCHoklch(47.65% 0.116 127.6)
XYZxyz(7.8679, 11.3937, 2.2748)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6810 #2E1068
analogous
#685A10 #4A6810 #1E6810
triadic
#4A6810 #104A68 #68104A
tetradic
#4A6810 #10685A #2E1068 #68101E
square
#4A6810 #10685A #2E1068 #68101E
split-complementary
#4A6810 #101E68 #5A1068
monochromatic
#131B04 #243308 #4A6810 #709D18 #95D220

Accessibility & contrast

On white

6.40
#4A6810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4A6810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6810
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6810#FFFFFF#000000##FFFFFF
##4A68101.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6A5E1A
Tritanopia (blue-blind)
#4D6358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a6810;
/* rgb */ color: rgb(74, 104, 16);
/* oklch */ color: oklch(47.7% 0.116 127.6);
Tailwind
colors: {
  custom: {
    50: '#809357',
    500: '#4a6810',
    950: '#000000',
  },
}
SCSS
$custom: #4a6810;
$custom-light: #809357;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6810",
  "rgb": {
    "r": 74,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 80.455,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.47653,
    "c": 0.11588,
    "h": 127.6
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#4A6810
secondary
#5934A0
accent
#38F077
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D03
muted
#7C7E78

Preview Lab

Preview with #4A6810

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

Preview Lab → · Contrast checker → · Palette generator →

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