#4B7B1C#4B7B1C

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

Color values

HEX#4B7B1C
RGBrgb(75, 123, 28)
HSLhsl(90, 63%, 30%)
HSVhsv(90, 77%, 48%)
CMYKcmyk(39%, 0%, 77.2%, 51.8%)
CIE-LABlab(46.64, -32.43, 43.80)
CIE-LCHlch(46.64, 54.50, 126.52°)
OKLaboklab(52.91% -0.0913 0.0979)
OKLCHoklch(52.91% 0.134 133)
XYZxyz(10.1941, 15.7452, 3.6004)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7B1C #4C1C7B
analogous
#7B7B1C #4B7B1C #1C7B1D
triadic
#4B7B1C #1C4B7B #7B1C4B
tetradic
#4B7B1C #1C7B7B #4C1C7B #7B1D1C
square
#4B7B1C #1C7B7B #4C1C7B #7B1D1C
split-complementary
#4B7B1C #1D1C7B #7B1C7B
monochromatic
#0F1906 #2D4911 #4B7B1C #69AD27 #88D33E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7B1C#FFFFFF#000000##FFFFFF
##4B7B1C1.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)
#807108
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#4B7669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4b7b1c;
/* rgb */ color: rgb(75, 123, 28);
/* oklch */ color: oklch(52.9% 0.134 133.0);
Tailwind
colors: {
  custom: {
    50: '#82a160',
    500: '#4b7b1c',
    950: '#000000',
  },
}
SCSS
$custom: #4b7b1c;
$custom-light: #82a160;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7b1c",
  "rgb": {
    "r": 75,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 90.316,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5291,
    "c": 0.13389,
    "h": 133
  },
  "luminance": 0.15746
}

Semantic roles & 50–950 ramp

primary
#4B7B1C
secondary
#7A44AF
accent
#42E695
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4B7B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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