#4A5A0F#4A5A0F

#4A5A0F is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.9% C 0.098 H 121.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#4A5A0F
RGBrgb(74, 90, 15)
HSLhsl(73, 71%, 21%)
HSVhsv(73, 83%, 35%)
CMYKcmyk(17.8%, 0%, 83.3%, 64.7%)
CIE-LABlab(35.60, -17.26, 37.97)
CIE-LCHlch(35.60, 41.71, 114.44°)
OKLaboklab(43.9% -0.051 0.0834)
OKLCHoklch(43.9% 0.098 121.5)
XYZxyz(6.5665, 8.8027, 1.8050)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5A0F #1F0F5A
analogous
#5A440F #4A5A0F #245A0F
triadic
#4A5A0F #0F4A5A #5A0F4A
tetradic
#4A5A0F #0F5A44 #1F0F5A #5A0F24
square
#4A5A0F #0F5A44 #1F0F5A #5A0F24
split-complementary
#4A5A0F #0F245A #440F5A
monochromatic
#161A04 #1F2606 #4A5A0F #758E18 #A0C320

Accessibility & contrast

On white

7.61
#4A5A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4A5A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5A0F
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5A0F#FFFFFF#000000##FFFFFF
##4A5A0F1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#5E5416
Tritanopia (blue-blind)
#4F554C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a5a0f;
/* rgb */ color: rgb(74, 90, 15);
/* oklch */ color: oklch(43.9% 0.098 121.5);
Tailwind
colors: {
  custom: {
    50: '#7f8855',
    500: '#4a5a0f',
    950: '#000000',
  },
}
SCSS
$custom: #4a5a0f;
$custom-light: #7f8855;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5a0f",
  "rgb": {
    "r": 74,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 72.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43897,
    "c": 0.0978,
    "h": 121.5
  },
  "luminance": 0.08803
}

Semantic roles & 50–950 ramp

primary
#4A5A0F
secondary
#463194
accent
#3AEE60
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A5A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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