#4A741B#4A741B

#4A741B is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 51.0% C 0.126 H 131.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4A741B
RGBrgb(74, 116, 27)
HSLhsl(88, 62%, 28%)
HSVhsv(88, 77%, 45%)
CMYKcmyk(36.2%, 0%, 76.7%, 54.5%)
CIE-LABlab(44.27, -29.65, 41.84)
CIE-LCHlch(44.27, 51.28, 125.33°)
OKLaboklab(50.96% -0.0838 0.0937)
OKLCHoklch(50.96% 0.126 131.8)
XYZxyz(9.2672, 14.0254, 3.2556)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A741B #451B74
analogous
#74711B #4A741B #1D741B
triadic
#4A741B #1B4A74 #741B4A
tetradic
#4A741B #1B7471 #451B74 #741B1D
square
#4A741B #1B7471 #451B74 #741B1D
split-complementary
#4A741B #1B1D74 #711B74
monochromatic
#101906 #2A420F #4A741B #6AA627 #89D139

Accessibility & contrast

On white

5.52
#4A741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4A741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A741B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A741B#FFFFFF#000000##FFFFFF
##4A741B1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B09
Deuteranopia (green-blind)
#736824
Tritanopia (blue-blind)
#4B6F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a741b;
/* rgb */ color: rgb(74, 116, 27);
/* oklch */ color: oklch(51.0% 0.126 131.8);
Tailwind
colors: {
  custom: {
    50: '#809c5e',
    500: '#4a741b',
    950: '#000000',
  },
}
SCSS
$custom: #4a741b;
$custom-light: #809c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a741b",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 88.315,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50958,
    "c": 0.12567,
    "h": 131.8
  },
  "luminance": 0.14026
}

Semantic roles & 50–950 ramp

primary
#4A741B
secondary
#7342A9
accent
#42E58F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A741B

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

Preview Lab → · Contrast checker → · Palette generator →

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