#4A791B#4A791B

#4A791B is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.3% C 0.132 H 132.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4A791B
RGBrgb(74, 121, 27)
HSLhsl(90, 64%, 29%)
HSVhsv(90, 78%, 47%)
CMYKcmyk(38.8%, 0%, 77.7%, 52.5%)
CIE-LABlab(45.92, -31.97, 43.45)
CIE-LCHlch(45.92, 53.94, 126.34°)
OKLaboklab(52.31% -0.09 0.0971)
OKLCHoklch(52.31% 0.132 132.9)
XYZxyz(9.8591, 15.2093, 3.4529)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A791B #4A1B79
analogous
#79791B #4A791B #1B791B
triadic
#4A791B #1B4A79 #791B4A
tetradic
#4A791B #1B7979 #4A1B79 #791B1B
square
#4A791B #1B7979 #4A1B79 #791B1B
split-complementary
#4A791B #1B1B79 #791B79
monochromatic
#0F1906 #2B4710 #4A791B #69AB26 #87D33B

Accessibility & contrast

On white

5.20
#4A791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4A791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A791B
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A791B#FFFFFF#000000##FFFFFF
##4A791B1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F07
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#4A7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4a791b;
/* rgb */ color: rgb(74, 121, 27);
/* oklch */ color: oklch(52.3% 0.132 132.9);
Tailwind
colors: {
  custom: {
    50: '#81a05f',
    500: '#4a791b',
    950: '#000000',
  },
}
SCSS
$custom: #4a791b;
$custom-light: #81a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a791b",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 90,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52306,
    "c": 0.13239,
    "h": 132.9
  },
  "luminance": 0.1521
}

Semantic roles & 50–950 ramp

primary
#4A791B
secondary
#7843AD
accent
#41E794
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A791B

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

Preview Lab → · Contrast checker → · Palette generator →

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