#4B7A18#4B7A18

#4B7A18 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.6% C 0.135 H 132.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4B7A18
RGBrgb(75, 122, 24)
HSLhsl(89, 67%, 29%)
HSVhsv(89, 80%, 48%)
CMYKcmyk(38.5%, 0%, 80.3%, 52.2%)
CIE-LABlab(46.29, -32.22, 44.88)
CIE-LCHlch(46.29, 55.25, 125.68°)
OKLaboklab(52.61% -0.091 0.0995)
OKLCHoklch(52.61% 0.135 132.4)
XYZxyz(10.0259, 15.4804, 3.3237)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7A18 #47187A
analogous
#7A7818 #4B7A18 #1A7A18
triadic
#4B7A18 #184B7A #7A184B
tetradic
#4B7A18 #187A78 #47187A #7A181A
square
#4B7A18 #187A78 #47187A #7A181A
split-complementary
#4B7A18 #181A7A #78187A
monochromatic
#101A05 #2C470E #4B7A18 #6AAD22 #8AD735

Accessibility & contrast

On white

5.13
#4B7A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#4B7A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7A18
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7A18#FFFFFF#000000##FFFFFF
##4B7A181.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#4C7568
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4b7a18;
/* rgb */ color: rgb(75, 122, 24);
/* oklch */ color: oklch(52.6% 0.135 132.4);
Tailwind
colors: {
  custom: {
    50: '#82a15e',
    500: '#4b7a18',
    950: '#000000',
  },
}
SCSS
$custom: #4b7a18;
$custom-light: #82a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7a18",
  "rgb": {
    "r": 75,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 88.776,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52614,
    "c": 0.13489,
    "h": 132.4
  },
  "luminance": 0.15481
}

Semantic roles & 50–950 ramp

primary
#4B7A18
secondary
#753FAF
accent
#3EEA90
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4B7A18

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

Preview Lab → · Contrast checker → · Palette generator →

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