#4B7014#4B7014

#4B7014 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.9% C 0.124 H 129.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#4B7014
RGBrgb(75, 112, 20)
HSLhsl(84, 70%, 26%)
HSVhsv(84, 82%, 44%)
CMYKcmyk(33%, 0%, 82.1%, 56.1%)
CIE-LABlab(42.97, -27.77, 43.11)
CIE-LCHlch(42.97, 51.28, 122.79°)
OKLaboklab(49.9% -0.0793 0.0951)
OKLCHoklch(49.9% 0.124 129.8)
XYZxyz(8.8221, 13.1344, 2.7321)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7014 #391470
analogous
#706714 #4B7014 #1D7014
triadic
#4B7014 #144B70 #70144B
tetradic
#4B7014 #147067 #391470 #70141D
square
#4B7014 #147067 #391470 #70141D
split-complementary
#4B7014 #141D70 #671470
monochromatic
#111A05 #283C0B #4B7014 #6EA41D #91D827

Accessibility & contrast

On white

5.79
#4B7014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4B7014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7014
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7014#FFFFFF#000000##FFFFFF
##4B70141.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#4D6B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b7014;
/* rgb */ color: rgb(75, 112, 20);
/* oklch */ color: oklch(49.9% 0.124 129.8);
Tailwind
colors: {
  custom: {
    50: '#81995a',
    500: '#4b7014',
    950: '#000000',
  },
}
SCSS
$custom: #4b7014;
$custom-light: #81995a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7014",
  "rgb": {
    "r": 75,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 84.13,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49897,
    "c": 0.12386,
    "h": 129.8
  },
  "luminance": 0.13135
}

Semantic roles & 50–950 ramp

primary
#4B7014
secondary
#6539A6
accent
#3BED83
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7014

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

Preview Lab → · Contrast checker → · Palette generator →

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