#4A701C#4A701C

#4A701C is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 49.9% C 0.120 H 131.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4A701C
RGBrgb(74, 112, 28)
HSLhsl(87, 60%, 27%)
HSVhsv(87, 75%, 44%)
CMYKcmyk(33.9%, 0%, 75%, 56.1%)
CIE-LABlab(42.95, -27.68, 40.14)
CIE-LCHlch(42.95, 48.76, 124.59°)
OKLaboklab(49.89% -0.0783 0.0903)
OKLCHoklch(49.89% 0.12 131)
XYZxyz(8.8277, 13.1277, 3.1672)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A701C #421C70
analogous
#706C1C #4A701C #20701C
triadic
#4A701C #1C4A70 #701C4A
tetradic
#4A701C #1C706C #421C70 #701C20
square
#4A701C #1C706C #421C70 #701C20
split-complementary
#4A701C #1C2070 #6C1C70
monochromatic
#101806 #2A3F10 #4A701C #6AA128 #8ACD39

Accessibility & contrast

On white

5.79
#4A701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4A701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A701C
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A701C#FFFFFF#000000##FFFFFF
##4A701C1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670D
Deuteranopia (green-blind)
#706424
Tritanopia (blue-blind)
#4C6B60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a701c;
/* rgb */ color: rgb(74, 112, 28);
/* oklch */ color: oklch(49.9% 0.120 131.0);
Tailwind
colors: {
  custom: {
    50: '#80995e',
    500: '#4a701c',
    950: '#000000',
  },
}
SCSS
$custom: #4a701c;
$custom-light: #80995e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a701c",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 87.143,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49889,
    "c": 0.11953,
    "h": 131
  },
  "luminance": 0.13128
}

Semantic roles & 50–950 ramp

primary
#4A701C
secondary
#6F43A5
accent
#45E38C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #4A701C

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

Preview Lab → · Contrast checker → · Palette generator →

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