#4B7018#4B7018

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

Color values

HEX#4B7018
RGBrgb(75, 112, 24)
HSLhsl(85, 65%, 27%)
HSVhsv(85, 79%, 44%)
CMYKcmyk(33%, 0%, 78.6%, 56.1%)
CIE-LABlab(42.99, -27.55, 41.73)
CIE-LCHlch(42.99, 50.01, 123.43°)
OKLaboklab(49.92% -0.0784 0.0929)
OKLCHoklch(49.92% 0.122 130.1)
XYZxyz(8.8606, 13.1499, 2.9353)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7018 #3D1870
analogous
#706918 #4B7018 #1F7018
triadic
#4B7018 #184B70 #70184B
tetradic
#4B7018 #187069 #3D1870 #70181F
square
#4B7018 #187069 #3D1870 #70181F
split-complementary
#4B7018 #181F70 #691870
monochromatic
#111905 #293E0D #4B7018 #6DA223 #8ED330

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B7018#FFFFFF#000000##FFFFFF
##4B70181.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)
#756705
Deuteranopia (green-blind)
#706521
Tritanopia (blue-blind)
#4D6B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b7018;
/* rgb */ color: rgb(75, 112, 24);
/* oklch */ color: oklch(49.9% 0.122 130.1);
Tailwind
colors: {
  custom: {
    50: '#81995c',
    500: '#4b7018',
    950: '#000000',
  },
}
SCSS
$custom: #4b7018;
$custom-light: #81995c;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7018",
  "rgb": {
    "r": 75,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 85.227,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49923,
    "c": 0.12157,
    "h": 130.1
  },
  "luminance": 0.1315
}

Semantic roles & 50–950 ramp

primary
#4B7018
secondary
#6A3EA5
accent
#40E887
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7018

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

Preview Lab → · Contrast checker → · Palette generator →

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