#4B7C1B#4B7C1B

#4B7C1B is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.2% C 0.136 H 133.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4B7C1B
RGBrgb(75, 124, 27)
HSLhsl(90, 64%, 30%)
HSVhsv(90, 78%, 49%)
CMYKcmyk(39.5%, 0%, 78.2%, 51.4%)
CIE-LABlab(46.96, -32.95, 44.48)
CIE-LCHlch(46.96, 55.36, 126.53°)
OKLaboklab(53.17% -0.0928 0.0992)
OKLCHoklch(53.17% 0.136 133.1)
XYZxyz(10.3070, 15.9898, 3.5800)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7C1B #4C1B7C
analogous
#7C7C1B #4B7C1B #1B7C1C
triadic
#4B7C1B #1B4B7C #7C1B4B
tetradic
#4B7C1B #1B7C7C #4C1B7C #7C1C1B
square
#4B7C1B #1B7C7C #4C1B7C #7C1C1B
split-complementary
#4B7C1B #1C1B7C #7C1B7C
monochromatic
#0F1905 #2D4A10 #4B7C1B #69AE26 #88D53D

Accessibility & contrast

On white

5.00
#4B7C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4B7C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7C1B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7C1B#FFFFFF#000000##FFFFFF
##4B7C1B1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817205
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#4B776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4b7c1b;
/* rgb */ color: rgb(75, 124, 27);
/* oklch */ color: oklch(53.2% 0.136 133.1);
Tailwind
colors: {
  custom: {
    50: '#82a25f',
    500: '#4b7c1b',
    950: '#000000',
  },
}
SCSS
$custom: #4b7c1b;
$custom-light: #82a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7c1b",
  "rgb": {
    "r": 75,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 90.309,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53172,
    "c": 0.13581,
    "h": 133.1
  },
  "luminance": 0.1599
}

Semantic roles & 50–950 ramp

primary
#4B7C1B
secondary
#7A43B0
accent
#41E795
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4B7C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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