#4B7A14#4B7A14

#4B7A14 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.6% C 0.137 H 132.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4B7A14
RGBrgb(75, 122, 20)
HSLhsl(88, 72%, 28%)
HSVhsv(88, 84%, 48%)
CMYKcmyk(38.5%, 0%, 83.6%, 52.2%)
CIE-LABlab(46.26, -32.44, 46.15)
CIE-LCHlch(46.26, 56.41, 125.10°)
OKLaboklab(52.59% -0.0919 0.1015)
OKLCHoklch(52.59% 0.137 132.1)
XYZxyz(9.9873, 15.4650, 3.1205)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7A14 #43147A
analogous
#7A7614 #4B7A14 #187A14
triadic
#4B7A14 #144B7A #7A144B
tetradic
#4B7A14 #147A76 #43147A #7A1418
square
#4B7A14 #147A76 #43147A #7A1418
split-complementary
#4B7A14 #14187A #76147A
monochromatic
#101A04 #2B450B #4B7A14 #6BAF1D #8BDC2C

Accessibility & contrast

On white

5.13
#4B7A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#4B7A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7A14
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7A14#FFFFFF#000000##FFFFFF
##4B7A141.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#4C7567
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4b7a14;
/* rgb */ color: rgb(75, 122, 20);
/* oklch */ color: oklch(52.6% 0.137 132.1);
Tailwind
colors: {
  custom: {
    50: '#82a15c',
    500: '#4b7a14',
    950: '#000000',
  },
}
SCSS
$custom: #4b7a14;
$custom-light: #82a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7a14",
  "rgb": {
    "r": 75,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 87.647,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5259,
    "c": 0.13695,
    "h": 132.1
  },
  "luminance": 0.15465
}

Semantic roles & 50–950 ramp

primary
#4B7A14
secondary
#703AB0
accent
#39EF8D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F04
muted
#7C7E79

Preview Lab

Preview with #4B7A14

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

Preview Lab → · Contrast checker → · Palette generator →

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