#4B7B1A#4B7B1A

#4B7B1A is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.135 H 132.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4B7B1A
RGBrgb(75, 123, 26)
HSLhsl(90, 65%, 29%)
HSVhsv(90, 79%, 48%)
CMYKcmyk(39%, 0%, 78.9%, 51.8%)
CIE-LABlab(46.63, -32.56, 44.51)
CIE-LCHlch(46.63, 55.15, 126.18°)
OKLaboklab(52.9% -0.0918 0.0991)
OKLCHoklch(52.9% 0.135 132.8)
XYZxyz(10.1709, 15.7359, 3.4785)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7B1A #4A1A7B
analogous
#7B7B1A #4B7B1A #1A7B1A
triadic
#4B7B1A #1A4B7B #7B1A4B
tetradic
#4B7B1A #1A7B7B #4A1A7B #7B1A1A
square
#4B7B1A #1A7B7B #4A1A7B #7B1A1A
split-complementary
#4B7B1A #1A1A7B #7B1A7B
monochromatic
#0F1905 #2C480F #4B7B1A #6AAE25 #89D53A

Accessibility & contrast

On white

5.06
#4B7B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4B7B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7B1A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7B1A#FFFFFF#000000##FFFFFF
##4B7B1A1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807104
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#4B7669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4b7b1a;
/* rgb */ color: rgb(75, 123, 26);
/* oklch */ color: oklch(52.9% 0.135 132.8);
Tailwind
colors: {
  custom: {
    50: '#82a15f',
    500: '#4b7b1a',
    950: '#000000',
  },
}
SCSS
$custom: #4b7b1a;
$custom-light: #82a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7b1a",
  "rgb": {
    "r": 75,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 89.691,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52896,
    "c": 0.13508,
    "h": 132.8
  },
  "luminance": 0.15736
}

Semantic roles & 50–950 ramp

primary
#4B7B1A
secondary
#7842AF
accent
#40E893
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4B7B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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