#4A5B0F#4A5B0F

#4A5B0F is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 44.2% C 0.099 H 122.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#4A5B0F
RGBrgb(74, 91, 15)
HSLhsl(73, 72%, 21%)
HSVhsv(73, 84%, 36%)
CMYKcmyk(18.7%, 0%, 83.5%, 64.3%)
CIE-LABlab(35.93, -17.80, 38.28)
CIE-LCHlch(35.93, 42.21, 114.94°)
OKLaboklab(44.16% -0.0525 0.0841)
OKLCHoklch(44.16% 0.099 122)
XYZxyz(6.6515, 8.9725, 1.8333)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5B0F #200F5B
analogous
#5B460F #4A5B0F #245B0F
triadic
#4A5B0F #0F4A5B #5B0F4A
tetradic
#4A5B0F #0F5B46 #200F5B #5B0F24
square
#4A5B0F #0F5B46 #200F5B #5B0F24
split-complementary
#4A5B0F #0F245B #460F5B
monochromatic
#151A04 #1F2606 #4A5B0F #759018 #9FC420

Accessibility & contrast

On white

7.51
#4A5B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4A5B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5B0F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5B0F#FFFFFF#000000##FFFFFF
##4A5B0F1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#5F5517
Tritanopia (blue-blind)
#4E564D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a5b0f;
/* rgb */ color: rgb(74, 91, 15);
/* oklch */ color: oklch(44.2% 0.099 122.0);
Tailwind
colors: {
  custom: {
    50: '#7f8955',
    500: '#4a5b0f',
    950: '#000000',
  },
}
SCSS
$custom: #4a5b0f;
$custom-light: #7f8955;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5b0f",
  "rgb": {
    "r": 74,
    "g": 91,
    "b": 15
  },
  "hsl": {
    "h": 73.421,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44163,
    "c": 0.09912,
    "h": 122
  },
  "luminance": 0.08973
}

Semantic roles & 50–950 ramp

primary
#4A5B0F
secondary
#473195
accent
#39EE62
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A5B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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