#4A6A0F#4A6A0F

#4A6A0F is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.2% C 0.119 H 128.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4A6A0F
RGBrgb(74, 106, 15)
HSLhsl(81, 75%, 24%)
HSVhsv(81, 86%, 42%)
CMYKcmyk(30.2%, 0%, 85.8%, 58.4%)
CIE-LABlab(40.89, -25.52, 42.77)
CIE-LCHlch(40.89, 49.81, 120.83°)
OKLaboklab(48.19% -0.0735 0.0936)
OKLCHoklch(48.19% 0.119 128.1)
XYZxyz(8.0643, 11.7982, 2.3042)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6A0F #2F0F6A
analogous
#6A5C0F #4A6A0F #1C6A0F
triadic
#4A6A0F #0F4A6A #6A0F4A
tetradic
#4A6A0F #0F6A5C #2F0F6A #6A0F1C
square
#4A6A0F #0F6A5C #2F0F6A #6A0F1C
split-complementary
#4A6A0F #0F1C6A #5C0F6A
monochromatic
#131B04 #253407 #4A6A0F #6FA017 #95D51E

Accessibility & contrast

On white

6.25
#4A6A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4A6A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6A0F
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6A0F#FFFFFF#000000##FFFFFF
##4A6A0F1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6B6019
Tritanopia (blue-blind)
#4D655A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a6a0f;
/* rgb */ color: rgb(74, 106, 15);
/* oklch */ color: oklch(48.2% 0.119 128.1);
Tailwind
colors: {
  custom: {
    50: '#809457',
    500: '#4a6a0f',
    950: '#000000',
  },
}
SCSS
$custom: #4a6a0f;
$custom-light: #809457;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6a0f",
  "rgb": {
    "r": 74,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 81.099,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48186,
    "c": 0.11901,
    "h": 128.1
  },
  "luminance": 0.11798
}

Semantic roles & 50–950 ramp

primary
#4A6A0F
secondary
#5A32A2
accent
#36F278
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4A6A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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