#4B7513#4B7513

#4B7513 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.2% C 0.131 H 131.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4B7513
RGBrgb(75, 117, 19)
HSLhsl(86, 72%, 27%)
HSVhsv(86, 84%, 46%)
CMYKcmyk(35.9%, 0%, 83.8%, 54.1%)
CIE-LABlab(44.61, -30.19, 44.94)
CIE-LCHlch(44.61, 54.14, 123.89°)
OKLaboklab(51.24% -0.0859 0.0988)
OKLCHoklch(51.24% 0.131 131)
XYZxyz(9.3804, 14.2651, 2.8752)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7513 #3D1375
analogous
#756E13 #4B7513 #1A7513
triadic
#4B7513 #134B75 #75134B
tetradic
#4B7513 #13756E #3D1375 #75131A
square
#4B7513 #13756E #3D1375 #75131A
split-complementary
#4B7513 #131A75 #6E1375
monochromatic
#111A04 #29400A #4B7513 #6DAA1C #8EDC27

Accessibility & contrast

On white

5.45
#4B7513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4B7513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7513
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7513#FFFFFF#000000##FFFFFF
##4B75131.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#75681E
Tritanopia (blue-blind)
#4D7063
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4b7513;
/* rgb */ color: rgb(75, 117, 19);
/* oklch */ color: oklch(51.2% 0.131 131.0);
Tailwind
colors: {
  custom: {
    50: '#829d5b',
    500: '#4b7513',
    950: '#000000',
  },
}
SCSS
$custom: #4b7513;
$custom-light: #829d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7513",
  "rgb": {
    "r": 75,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 85.714,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51238,
    "c": 0.13095,
    "h": 131
  },
  "luminance": 0.14265
}

Semantic roles & 50–950 ramp

primary
#4B7513
secondary
#6A38AB
accent
#39EF87
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7513

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

Preview Lab → · Contrast checker → · Palette generator →

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