#4A5711#4A5711

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

Color values

HEX#4A5711
RGBrgb(74, 87, 17)
HSLhsl(71, 67%, 20%)
HSVhsv(71, 80%, 34%)
CMYKcmyk(14.9%, 0%, 80.5%, 65.9%)
CIE-LABlab(34.63, -15.51, 36.33)
CIE-LCHlch(34.63, 39.50, 113.12°)
OKLaboklab(43.11% -0.046 0.0803)
OKLCHoklch(43.11% 0.093 119.8)
XYZxyz(6.3335, 8.3127, 1.8011)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5711 #1E1157
analogous
#574111 #4A5711 #275711
triadic
#4A5711 #114A57 #57114A
tetradic
#4A5711 #115741 #1E1157 #571127
square
#4A5711 #115741 #1E1157 #571127
split-complementary
#4A5711 #112757 #411157
monochromatic
#161A05 #1E2407 #4A5711 #768A1B #A1BD25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A5711#FFFFFF#000000##FFFFFF
##4A57111.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)
#5D5203
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#4F524A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4a5711;
/* rgb */ color: rgb(74, 87, 17);
/* oklch */ color: oklch(43.1% 0.093 119.8);
Tailwind
colors: {
  custom: {
    50: '#7f8655',
    500: '#4a5711',
    950: '#000000',
  },
}
SCSS
$custom: #4a5711;
$custom-light: #7f8655;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5711",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 71.143,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.43114,
    "c": 0.0926,
    "h": 119.8
  },
  "luminance": 0.08313
}

Semantic roles & 50–950 ramp

primary
#4A5711
secondary
#453490
accent
#3EEA5E
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A5711

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

Preview Lab → · Contrast checker → · Palette generator →

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