#4A671F#4A671F

#4A671F is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.5% C 0.105 H 128.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4A671F
RGBrgb(74, 103, 31)
HSLhsl(84, 54%, 26%)
HSVhsv(84, 70%, 40%)
CMYKcmyk(28.2%, 0%, 69.9%, 59.6%)
CIE-LABlab(40.01, -23.00, 35.82)
CIE-LCHlch(40.01, 42.57, 122.71°)
OKLaboklab(47.5% -0.0653 0.0817)
OKLCHoklch(47.5% 0.105 128.6)
XYZxyz(7.9216, 11.2551, 3.0512)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A671F #3C1F67
analogous
#67601F #4A671F #26671F
triadic
#4A671F #1F4A67 #671F4A
tetradic
#4A671F #1F6760 #3C1F67 #671F26
square
#4A671F #1F6760 #3C1F67 #671F26
split-complementary
#4A671F #1F2667 #601F67
monochromatic
#111807 #283811 #4A671F #6C962D #8DC43C

Accessibility & contrast

On white

6.46
#4A671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A671F
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A671F#FFFFFF#000000##FFFFFF
##4A671F1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6015
Deuteranopia (green-blind)
#685E25
Tritanopia (blue-blind)
#4C6258
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a671f;
/* rgb */ color: rgb(74, 103, 31);
/* oklch */ color: oklch(47.5% 0.105 128.6);
Tailwind
colors: {
  custom: {
    50: '#7f925f',
    500: '#4a671f',
    950: '#000000',
  },
}
SCSS
$custom: #4a671f;
$custom-light: #7f925f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a671f",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 84.167,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47499,
    "c": 0.10456,
    "h": 128.6
  },
  "luminance": 0.11255
}

Semantic roles & 50–950 ramp

primary
#4A671F
secondary
#69469B
accent
#4BDD86
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #4A671F

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

Preview Lab → · Contrast checker → · Palette generator →

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