#4A701F#4A701F

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

Color values

HEX#4A701F
RGBrgb(74, 112, 31)
HSLhsl(88, 57%, 28%)
HSVhsv(88, 72%, 44%)
CMYKcmyk(33.9%, 0%, 72.3%, 56.1%)
CIE-LABlab(42.98, -27.46, 38.92)
CIE-LCHlch(42.98, 47.63, 125.21°)
OKLaboklab(49.92% -0.0775 0.0882)
OKLCHoklch(49.92% 0.117 131.3)
XYZxyz(8.8654, 13.1428, 3.3658)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A701F #451F70
analogous
#706D1F #4A701F #22701F
triadic
#4A701F #1F4A70 #701F4A
tetradic
#4A701F #1F706D #451F70 #701F22
square
#4A701F #1F706D #451F70 #701F22
split-complementary
#4A701F #1F2270 #6D1F70
monochromatic
#101807 #2A4012 #4A701F #6AA02C #89CA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A701F#FFFFFF#000000##FFFFFF
##4A701F1.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)
#756713
Deuteranopia (green-blind)
#706526
Tritanopia (blue-blind)
#4B6B60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a701f;
/* rgb */ color: rgb(74, 112, 31);
/* oklch */ color: oklch(49.9% 0.117 131.3);
Tailwind
colors: {
  custom: {
    50: '#809960',
    500: '#4a701f',
    950: '#000000',
  },
}
SCSS
$custom: #4a701f;
$custom-light: #809960;
$custom-dark: #000000;
JSON
{
  "hex": "#4a701f",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 88.148,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49915,
    "c": 0.11738,
    "h": 131.3
  },
  "luminance": 0.13143
}

Semantic roles & 50–950 ramp

primary
#4A701F
secondary
#7347A4
accent
#48E08F
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #4A701F

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

Preview Lab → · Contrast checker → · Palette generator →

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