#4A5810#4A5810

#4A5810 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.4% C 0.095 H 120.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4A5810
RGBrgb(74, 88, 16)
HSLhsl(72, 69%, 20%)
HSVhsv(72, 82%, 35%)
CMYKcmyk(15.9%, 0%, 81.8%, 65.5%)
CIE-LABlab(34.95, -16.11, 37.01)
CIE-LCHlch(34.95, 40.36, 113.53°)
OKLaboklab(43.37% -0.0478 0.0816)
OKLCHoklch(43.37% 0.095 120.4)
XYZxyz(6.4074, 8.4727, 1.7880)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5810 #1E1058
analogous
#584210 #4A5810 #265810
triadic
#4A5810 #104A58 #58104A
tetradic
#4A5810 #105842 #1E1058 #581026
square
#4A5810 #105842 #1E1058 #581026
split-complementary
#4A5810 #102658 #421058
monochromatic
#161A05 #1E2407 #4A5810 #768C19 #A1C023

Accessibility & contrast

On white

7.79
#4A5810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4A5810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5810
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5810#FFFFFF#000000##FFFFFF
##4A58101.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5202
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#4F534A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4a5810;
/* rgb */ color: rgb(74, 88, 16);
/* oklch */ color: oklch(43.4% 0.095 120.4);
Tailwind
colors: {
  custom: {
    50: '#7f8755',
    500: '#4a5810',
    950: '#000000',
  },
}
SCSS
$custom: #4a5810;
$custom-light: #7f8755;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5810",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 71.667,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.43372,
    "c": 0.09455,
    "h": 120.4
  },
  "luminance": 0.08473
}

Semantic roles & 50–950 ramp

primary
#4A5810
secondary
#453291
accent
#3CEC5E
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A5810

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

Preview Lab → · Contrast checker → · Palette generator →

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