#4B7C14#4B7C14

#4B7C14 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.1% C 0.140 H 132.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4B7C14
RGBrgb(75, 124, 20)
HSLhsl(88, 72%, 28%)
HSVhsv(88, 84%, 49%)
CMYKcmyk(39.5%, 0%, 83.9%, 51.4%)
CIE-LABlab(46.92, -33.34, 46.75)
CIE-LCHlch(46.92, 57.42, 125.50°)
OKLaboklab(53.13% -0.0943 0.1028)
OKLCHoklch(53.13% 0.14 132.5)
XYZxyz(10.2354, 15.9612, 3.2032)
Luminance0.1596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7C14 #45147C
analogous
#7C7914 #4B7C14 #177C14
triadic
#4B7C14 #144B7C #7C144B
tetradic
#4B7C14 #147C79 #45147C #7C1417
square
#4B7C14 #147C79 #45147C #7C1417
split-complementary
#4B7C14 #14177C #79147C
monochromatic
#101A04 #2B470B #4B7C14 #6BB11D #8ADD2D

Accessibility & contrast

On white

5.01
#4B7C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4B7C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7C14
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7C14#FFFFFF#000000##FFFFFF
##4B7C141.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#4C7769
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4b7c14;
/* rgb */ color: rgb(75, 124, 20);
/* oklch */ color: oklch(53.1% 0.140 132.5);
Tailwind
colors: {
  custom: {
    50: '#82a25c',
    500: '#4b7c14',
    950: '#000000',
  },
}
SCSS
$custom: #4b7c14;
$custom-light: #82a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7c14",
  "rgb": {
    "r": 75,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 88.269,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53129,
    "c": 0.13951,
    "h": 132.5
  },
  "luminance": 0.15962
}

Semantic roles & 50–950 ramp

primary
#4B7C14
secondary
#723AB2
accent
#39EF8F
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #4B7C14

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

Preview Lab → · Contrast checker → · Palette generator →

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