#4B7B1E#4B7B1E

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

Color values

HEX#4B7B1E
RGBrgb(75, 123, 30)
HSLhsl(91, 61%, 30%)
HSVhsv(91, 76%, 48%)
CMYKcmyk(39%, 0%, 75.6%, 51.8%)
CIE-LABlab(46.65, -32.30, 43.06)
CIE-LCHlch(46.65, 53.83, 126.87°)
OKLaboklab(52.93% -0.0908 0.0967)
OKLCHoklch(52.93% 0.133 133.2)
XYZxyz(10.2188, 15.7550, 3.7306)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7B1E #4E1E7B
analogous
#797B1E #4B7B1E #1E7B20
triadic
#4B7B1E #1E4B7B #7B1E4B
tetradic
#4B7B1E #1E797B #4E1E7B #7B201E
square
#4B7B1E #1E797B #4E1E7B #7B201E
split-complementary
#4B7B1E #201E7B #7B1E79
monochromatic
#0F1906 #2D4A12 #4B7B1E #69AC2A #87D142

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7B1E#FFFFFF#000000##FFFFFF
##4B7B1E1.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)
#80710D
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#4B7669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4b7b1e;
/* rgb */ color: rgb(75, 123, 30);
/* oklch */ color: oklch(52.9% 0.133 133.2);
Tailwind
colors: {
  custom: {
    50: '#82a161',
    500: '#4b7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #4b7b1e;
$custom-light: #82a161;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7b1e",
  "rgb": {
    "r": 75,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 90.968,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.52925,
    "c": 0.13263,
    "h": 133.2
  },
  "luminance": 0.15756
}

Semantic roles & 50–950 ramp

primary
#4B7B1E
secondary
#7C46AE
accent
#44E496
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4B7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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