#4B751A#4B751A

#4B751A is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.3% C 0.127 H 131.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4B751A
RGBrgb(75, 117, 26)
HSLhsl(88, 64%, 28%)
HSVhsv(88, 78%, 46%)
CMYKcmyk(35.9%, 0%, 77.8%, 54.1%)
CIE-LABlab(44.65, -29.79, 42.61)
CIE-LCHlch(44.65, 51.99, 124.97°)
OKLaboklab(51.28% -0.0843 0.0951)
OKLCHoklch(51.28% 0.127 131.6)
XYZxyz(9.4493, 14.2927, 3.2380)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B751A #441A75
analogous
#75711A #4B751A #1E751A
triadic
#4B751A #1A4B75 #751A4B
tetradic
#4B751A #1A7571 #441A75 #751A1E
square
#4B751A #1A7571 #441A75 #751A1E
split-complementary
#4B751A #1A1E75 #711A75
monochromatic
#101906 #2B430F #4B751A #6BA725 #8BD337

Accessibility & contrast

On white

5.44
#4B751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4B751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B751A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B751A#FFFFFF#000000##FFFFFF
##4B751A1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C07
Deuteranopia (green-blind)
#756823
Tritanopia (blue-blind)
#4C7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4b751a;
/* rgb */ color: rgb(75, 117, 26);
/* oklch */ color: oklch(51.3% 0.127 131.6);
Tailwind
colors: {
  custom: {
    50: '#819d5e',
    500: '#4b751a',
    950: '#000000',
  },
}
SCSS
$custom: #4b751a;
$custom-light: #819d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b751a",
  "rgb": {
    "r": 75,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 87.692,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51282,
    "c": 0.12708,
    "h": 131.6
  },
  "luminance": 0.14293
}

Semantic roles & 50–950 ramp

primary
#4B751A
secondary
#7141AA
accent
#41E78E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B751A

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

Preview Lab → · Contrast checker → · Palette generator →

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