#4A5712#4A5712

#4A5712 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 43.1% C 0.092 H 119.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#4A5712
RGBrgb(74, 87, 18)
HSLhsl(71, 66%, 21%)
HSVhsv(71, 79%, 34%)
CMYKcmyk(14.9%, 0%, 79.3%, 65.9%)
CIE-LABlab(34.63, -15.45, 35.94)
CIE-LCHlch(34.63, 39.12, 113.26°)
OKLaboklab(43.12% -0.0458 0.0797)
OKLCHoklch(43.12% 0.092 119.9)
XYZxyz(6.3415, 8.3159, 1.8432)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5712 #1F1257
analogous
#574112 #4A5712 #285712
triadic
#4A5712 #124A57 #57124A
tetradic
#4A5712 #125741 #1F1257 #571228
square
#4A5712 #125741 #1F1257 #571228
split-complementary
#4A5712 #122857 #411257
monochromatic
#161905 #1F2408 #4A5712 #758A1C #A0BC27

Accessibility & contrast

On white

7.89
#4A5712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4A5712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A5712
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5712#FFFFFF#000000##FFFFFF
##4A57121.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5205
Deuteranopia (green-blind)
#5B5218
Tritanopia (blue-blind)
#4F524A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4a5712;
/* rgb */ color: rgb(74, 87, 18);
/* oklch */ color: oklch(43.1% 0.092 119.9);
Tailwind
colors: {
  custom: {
    50: '#7f8656',
    500: '#4a5712',
    950: '#000000',
  },
}
SCSS
$custom: #4a5712;
$custom-light: #7f8656;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5712",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 71.304,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43121,
    "c": 0.09194,
    "h": 119.9
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#4A5712
secondary
#463590
accent
#3FE95F
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A5712

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

Preview Lab → · Contrast checker → · Palette generator →

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