#4B7B1B#4B7B1B

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

Color values

HEX#4B7B1B
RGBrgb(75, 123, 27)
HSLhsl(90, 64%, 29%)
HSVhsv(90, 78%, 48%)
CMYKcmyk(39%, 0%, 78%, 51.8%)
CIE-LABlab(46.63, -32.50, 44.16)
CIE-LCHlch(46.63, 54.83, 126.35°)
OKLaboklab(52.9% -0.0916 0.0985)
OKLCHoklch(52.9% 0.134 132.9)
XYZxyz(10.1823, 15.7404, 3.5384)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7B1B #4B1B7B
analogous
#7B7B1B #4B7B1B #1B7B1B
triadic
#4B7B1B #1B4B7B #7B1B4B
tetradic
#4B7B1B #1B7B7B #4B1B7B #7B1B1B
square
#4B7B1B #1B7B7B #4B1B7B #7B1B1B
split-complementary
#4B7B1B #1B1B7B #7B1B7B
monochromatic
#0F1906 #2C4910 #4B7B1B #6AAD26 #88D43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7B1B#FFFFFF#000000##FFFFFF
##4B7B1B1.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)
#807106
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#4B7669
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4b7b1b;
/* rgb */ color: rgb(75, 123, 27);
/* oklch */ color: oklch(52.9% 0.134 132.9);
Tailwind
colors: {
  custom: {
    50: '#82a15f',
    500: '#4b7b1b',
    950: '#000000',
  },
}
SCSS
$custom: #4b7b1b;
$custom-light: #82a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7b1b",
  "rgb": {
    "r": 75,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 90,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52903,
    "c": 0.13449,
    "h": 132.9
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#4B7B1B
secondary
#7943AF
accent
#41E794
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4B7B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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