#4A761B#4A761B

#4A761B is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.5% C 0.128 H 132.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4A761B
RGBrgb(74, 118, 27)
HSLhsl(89, 63%, 28%)
HSVhsv(89, 77%, 46%)
CMYKcmyk(37.3%, 0%, 77.1%, 53.7%)
CIE-LABlab(44.93, -30.59, 42.49)
CIE-LCHlch(44.93, 52.35, 125.75°)
OKLaboklab(51.5% -0.0863 0.095)
OKLCHoklch(51.5% 0.128 132.2)
XYZxyz(9.5002, 14.4915, 3.3333)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A761B #471B76
analogous
#76741B #4A761B #1C761B
triadic
#4A761B #1B4A76 #761B4A
tetradic
#4A761B #1B7674 #471B76 #761B1C
square
#4A761B #1B7674 #471B76 #761B1C
split-complementary
#4A761B #1B1C76 #741B76
monochromatic
#101906 #2B4410 #4A761B #69A826 #88D23A

Accessibility & contrast

On white

5.39
#4A761B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4A761B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A761B
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A761B#FFFFFF#000000##FFFFFF
##4A761B1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C08
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#4B7165
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a761b;
/* rgb */ color: rgb(74, 118, 27);
/* oklch */ color: oklch(51.5% 0.128 132.2);
Tailwind
colors: {
  custom: {
    50: '#819e5e',
    500: '#4a761b',
    950: '#000000',
  },
}
SCSS
$custom: #4a761b;
$custom-light: #819e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a761b",
  "rgb": {
    "r": 74,
    "g": 118,
    "b": 27
  },
  "hsl": {
    "h": 89.011,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51497,
    "c": 0.12837,
    "h": 132.2
  },
  "luminance": 0.14492
}

Semantic roles & 50–950 ramp

primary
#4A761B
secondary
#7542AA
accent
#42E691
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A761B

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

Preview Lab → · Contrast checker → · Palette generator →

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