#4B7A1A#4B7A1A

#4B7A1A is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.6% C 0.134 H 132.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4B7A1A
RGBrgb(75, 122, 26)
HSLhsl(89, 65%, 29%)
HSVhsv(89, 79%, 48%)
CMYKcmyk(38.5%, 0%, 78.7%, 52.2%)
CIE-LABlab(46.30, -32.11, 44.20)
CIE-LCHlch(46.30, 54.63, 125.99°)
OKLaboklab(52.63% -0.0906 0.0984)
OKLCHoklch(52.63% 0.134 132.6)
XYZxyz(10.0475, 15.4891, 3.4374)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7A1A #491A7A
analogous
#7A791A #4B7A1A #1B7A1A
triadic
#4B7A1A #1A4B7A #7A1A4B
tetradic
#4B7A1A #1A7A79 #491A7A #7A1A1B
square
#4B7A1A #1A7A79 #491A7A #7A1A1B
split-complementary
#4B7A1A #1A1B7A #791A7A
monochromatic
#101905 #2C480F #4B7A1A #6AAC25 #89D539

Accessibility & contrast

On white

5.12
#4B7A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4B7A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7A1A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7A1A#FFFFFF#000000##FFFFFF
##4B7A1A1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#4C7568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4b7a1a;
/* rgb */ color: rgb(75, 122, 26);
/* oklch */ color: oklch(52.6% 0.134 132.6);
Tailwind
colors: {
  custom: {
    50: '#82a15f',
    500: '#4b7a1a',
    950: '#000000',
  },
}
SCSS
$custom: #4b7a1a;
$custom-light: #82a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7a1a",
  "rgb": {
    "r": 75,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 89.375,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52627,
    "c": 0.13376,
    "h": 132.6
  },
  "luminance": 0.1549
}

Semantic roles & 50–950 ramp

primary
#4B7A1A
secondary
#7741AE
accent
#40E892
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4B7A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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