#4A671A#4A671A

#4A671A is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.5% C 0.108 H 128.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4A671A
RGBrgb(74, 103, 26)
HSLhsl(83, 60%, 25%)
HSVhsv(83, 75%, 40%)
CMYKcmyk(28.2%, 0%, 74.8%, 59.6%)
CIE-LABlab(39.97, -23.39, 37.95)
CIE-LCHlch(39.97, 44.58, 121.65°)
OKLaboklab(47.45% -0.0668 0.0854)
OKLCHoklch(47.45% 0.108 128.1)
XYZxyz(7.8607, 11.2307, 2.7307)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A671A #371A67
analogous
#675D1A #4A671A #24671A
triadic
#4A671A #1A4A67 #671A4A
tetradic
#4A671A #1A675D #371A67 #671A24
square
#4A671A #1A675D #371A67 #671A24
split-complementary
#4A671A #1A2467 #5D1A67
monochromatic
#121806 #27360E #4A671A #6D9826 #90C933

Accessibility & contrast

On white

6.47
#4A671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4A671A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A671A
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A671A#FFFFFF#000000##FFFFFF
##4A671A1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0D
Deuteranopia (green-blind)
#685E21
Tritanopia (blue-blind)
#4D6258
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a671a;
/* rgb */ color: rgb(74, 103, 26);
/* oklch */ color: oklch(47.5% 0.108 128.1);
Tailwind
colors: {
  custom: {
    50: '#7f925c',
    500: '#4a671a',
    950: '#000000',
  },
}
SCSS
$custom: #4a671a;
$custom-light: #7f925c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a671a",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 82.597,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47454,
    "c": 0.1084,
    "h": 128.1
  },
  "luminance": 0.11231
}

Semantic roles & 50–950 ramp

primary
#4A671A
secondary
#63409D
accent
#45E380
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A671A

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

Preview Lab → · Contrast checker → · Palette generator →

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