#4B7015#4B7015

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

Color values

HEX#4B7015
RGBrgb(75, 112, 21)
HSLhsl(84, 68%, 26%)
HSVhsv(84, 81%, 44%)
CMYKcmyk(33%, 0%, 81.2%, 56.1%)
CIE-LABlab(42.97, -27.72, 42.78)
CIE-LCHlch(42.97, 50.98, 122.94°)
OKLaboklab(49.9% -0.0791 0.0946)
OKLCHoklch(49.9% 0.123 129.9)
XYZxyz(8.8311, 13.1381, 2.7799)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7015 #3A1570
analogous
#706715 #4B7015 #1D7015
triadic
#4B7015 #154B70 #70154B
tetradic
#4B7015 #157067 #3A1570 #70151D
square
#4B7015 #157067 #3A1570 #70151D
split-complementary
#4B7015 #151D70 #671570
monochromatic
#111A05 #283C0B #4B7015 #6EA41F #90D729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7015#FFFFFF#000000##FFFFFF
##4B70151.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)
#71651F
Tritanopia (blue-blind)
#4D6B5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b7015;
/* rgb */ color: rgb(75, 112, 21);
/* oklch */ color: oklch(49.9% 0.123 129.9);
Tailwind
colors: {
  custom: {
    50: '#81995b',
    500: '#4b7015',
    950: '#000000',
  },
}
SCSS
$custom: #4b7015;
$custom-light: #81995b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7015",
  "rgb": {
    "r": 75,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 84.396,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49903,
    "c": 0.12332,
    "h": 129.9
  },
  "luminance": 0.13138
}

Semantic roles & 50–950 ramp

primary
#4B7015
secondary
#663BA6
accent
#3DEB84
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7015

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

Preview Lab → · Contrast checker → · Palette generator →

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