#4A570C#4A570C

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

Color values

HEX#4A570C
RGBrgb(74, 87, 12)
HSLhsl(70, 76%, 19%)
HSVhsv(70, 86%, 34%)
CMYKcmyk(14.9%, 0%, 86.2%, 65.9%)
CIE-LABlab(34.60, -15.76, 38.07)
CIE-LCHlch(34.60, 41.20, 112.48°)
OKLaboklab(43.08% -0.0472 0.0831)
OKLCHoklch(43.08% 0.096 119.6)
XYZxyz(6.2987, 8.2988, 1.6178)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A570C #190C57
analogous
#573F0C #4A570C #25570C
triadic
#4A570C #0C4A57 #570C4A
tetradic
#4A570C #0C573F #190C57 #570C25
square
#4A570C #0C573F #190C57 #570C25
split-complementary
#4A570C #0C2557 #3F0C57
monochromatic
#171B04 #1C2105 #4A570C #788D13 #A5C31B

Accessibility & contrast

On white

7.90
#4A570C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A570C
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A570C#FFFFFF#000000##FFFFFF
##4A570C1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#5C5214
Tritanopia (blue-blind)
#4F5249
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4a570c;
/* rgb */ color: rgb(74, 87, 12);
/* oklch */ color: oklch(43.1% 0.096 119.6);
Tailwind
colors: {
  custom: {
    50: '#7f8653',
    500: '#4a570c',
    950: '#000000',
  },
}
SCSS
$custom: #4a570c;
$custom-light: #7f8653;
$custom-dark: #000000;
JSON
{
  "hex": "#4a570c",
  "rgb": {
    "r": 74,
    "g": 87,
    "b": 12
  },
  "hsl": {
    "h": 70.4,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.43082,
    "c": 0.09552,
    "h": 119.6
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#4A570C
secondary
#3E2D92
accent
#35F256
background
#F8F8F4
surface
#EFEFE8
border
#CACAC4
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #4A570C

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

Preview Lab → · Contrast checker → · Palette generator →

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