#4B7114#4B7114

#4B7114 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.2% C 0.125 H 130.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4B7114
RGBrgb(75, 113, 20)
HSLhsl(85, 70%, 26%)
HSVhsv(85, 82%, 44%)
CMYKcmyk(33.6%, 0%, 82.3%, 55.7%)
CIE-LABlab(43.30, -28.25, 43.42)
CIE-LCHlch(43.30, 51.80, 123.05°)
OKLaboklab(50.17% -0.0806 0.0958)
OKLCHoklch(50.17% 0.125 130.1)
XYZxyz(8.9330, 13.3563, 2.7691)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7114 #3A1471
analogous
#716814 #4B7114 #1C7114
triadic
#4B7114 #144B71 #71144B
tetradic
#4B7114 #147168 #3A1471 #71141C
square
#4B7114 #147168 #3A1471 #71141C
split-complementary
#4B7114 #141C71 #681471
monochromatic
#111A05 #283D0B #4B7114 #6EA51D #90D927

Accessibility & contrast

On white

5.72
#4B7114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4B7114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7114
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7114#FFFFFF#000000##FFFFFF
##4B71141.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#4D6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b7114;
/* rgb */ color: rgb(75, 113, 20);
/* oklch */ color: oklch(50.2% 0.125 130.1);
Tailwind
colors: {
  custom: {
    50: '#819a5b',
    500: '#4b7114',
    950: '#000000',
  },
}
SCSS
$custom: #4b7114;
$custom-light: #819a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7114",
  "rgb": {
    "r": 75,
    "g": 113,
    "b": 20
  },
  "hsl": {
    "h": 84.516,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.12519,
    "h": 130.1
  },
  "luminance": 0.13357
}

Semantic roles & 50–950 ramp

primary
#4B7114
secondary
#6639A7
accent
#3BED84
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7114

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

Preview Lab → · Contrast checker → · Palette generator →

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