#4A671B#4A671B

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

Color values

HEX#4A671B
RGBrgb(74, 103, 27)
HSLhsl(83, 58%, 25%)
HSVhsv(83, 74%, 40%)
CMYKcmyk(28.2%, 0%, 73.8%, 59.6%)
CIE-LABlab(39.97, -23.32, 37.54)
CIE-LCHlch(39.97, 44.19, 121.85°)
OKLaboklab(47.46% -0.0665 0.0847)
OKLCHoklch(47.46% 0.108 128.2)
XYZxyz(7.8721, 11.2353, 2.7906)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A671B #381B67
analogous
#675E1B #4A671B #24671B
triadic
#4A671B #1B4A67 #671B4A
tetradic
#4A671B #1B675E #381B67 #671B24
square
#4A671B #1B675E #381B67 #671B24
split-complementary
#4A671B #1B2467 #5E1B67
monochromatic
#111806 #27370E #4A671B #6D9728 #90C834

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A671B#FFFFFF#000000##FFFFFF
##4A671B1.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)
#6C5F0F
Deuteranopia (green-blind)
#685E22
Tritanopia (blue-blind)
#4D6258
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a671b;
/* rgb */ color: rgb(74, 103, 27);
/* oklch */ color: oklch(47.5% 0.108 128.2);
Tailwind
colors: {
  custom: {
    50: '#7f925d',
    500: '#4a671b',
    950: '#000000',
  },
}
SCSS
$custom: #4a671b;
$custom-light: #7f925d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a671b",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 82.895,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47462,
    "c": 0.10767,
    "h": 128.2
  },
  "luminance": 0.11235
}

Semantic roles & 50–950 ramp

primary
#4A671B
secondary
#64429C
accent
#46E281
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A671B

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

Preview Lab → · Contrast checker → · Palette generator →

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