#4B7518#4B7518

#4B7518 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.3% C 0.128 H 131.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4B7518
RGBrgb(75, 117, 24)
HSLhsl(87, 66%, 28%)
HSVhsv(87, 79%, 46%)
CMYKcmyk(35.9%, 0%, 79.5%, 54.1%)
CIE-LABlab(44.64, -29.92, 43.32)
CIE-LCHlch(44.64, 52.65, 124.63°)
OKLaboklab(51.27% -0.0848 0.0963)
OKLCHoklch(51.27% 0.128 131.4)
XYZxyz(9.4277, 14.2840, 3.1243)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7518 #421875
analogous
#757018 #4B7518 #1C7518
triadic
#4B7518 #184B75 #75184B
tetradic
#4B7518 #187570 #421875 #75181C
square
#4B7518 #187570 #421875 #75181C
split-complementary
#4B7518 #181C75 #701875
monochromatic
#101905 #2A420E #4B7518 #6CA822 #8CD532

Accessibility & contrast

On white

5.44
#4B7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4B7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7518
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7518#FFFFFF#000000##FFFFFF
##4B75181.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C03
Deuteranopia (green-blind)
#756822
Tritanopia (blue-blind)
#4C7063
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4b7518;
/* rgb */ color: rgb(75, 117, 24);
/* oklch */ color: oklch(51.3% 0.128 131.4);
Tailwind
colors: {
  custom: {
    50: '#819d5d',
    500: '#4b7518',
    950: '#000000',
  },
}
SCSS
$custom: #4b7518;
$custom-light: #819d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7518",
  "rgb": {
    "r": 75,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 87.097,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51268,
    "c": 0.12828,
    "h": 131.4
  },
  "luminance": 0.14284
}

Semantic roles & 50–950 ramp

primary
#4B7518
secondary
#6F3FAA
accent
#3FE98C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7518

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

Preview Lab → · Contrast checker → · Palette generator →

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