#4A570F#4A570F

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

Color values

HEX#4A570F
RGBrgb(74, 87, 15)
HSLhsl(71, 71%, 20%)
HSVhsv(71, 83%, 34%)
CMYKcmyk(14.9%, 0%, 82.8%, 65.9%)
CIE-LABlab(34.61, -15.61, 37.06)
CIE-LCHlch(34.61, 40.22, 112.85°)
OKLaboklab(43.1% -0.0465 0.0815)
OKLCHoklch(43.1% 0.094 119.7)
XYZxyz(6.3186, 8.3068, 1.7223)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A570F #1C0F57
analogous
#57400F #4A570F #26570F
triadic
#4A570F #0F4A57 #570F4A
tetradic
#4A570F #0F5740 #1C0F57 #570F26
square
#4A570F #0F5740 #1C0F57 #570F26
split-complementary
#4A570F #0F2657 #400F57
monochromatic
#161A05 #1E2306 #4A570F #768B18 #A3BF21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A570F#FFFFFF#000000##FFFFFF
##4A570F1.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)
#5D5101
Deuteranopia (green-blind)
#5C5216
Tritanopia (blue-blind)
#4F524A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4a570f;
/* rgb */ color: rgb(74, 87, 15);
/* oklch */ color: oklch(43.1% 0.094 119.7);
Tailwind
colors: {
  custom: {
    50: '#7f8654',
    500: '#4a570f',
    950: '#000000',
  },
}
SCSS
$custom: #4a570f;
$custom-light: #7f8654;
$custom-dark: #000000;
JSON
{
  "hex": "#4a570f",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 15
  },
  "hsl": {
    "h": 70.833,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.431,
    "c": 0.09384,
    "h": 119.7
  },
  "luminance": 0.08307
}

Semantic roles & 50–950 ramp

primary
#4A570F
secondary
#423191
accent
#3AED5B
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A570F

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

Preview Lab → · Contrast checker → · Palette generator →

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