#4B7618#4B7618

#4B7618 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.5% C 0.130 H 131.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4B7618
RGBrgb(75, 118, 24)
HSLhsl(87, 66%, 28%)
HSVhsv(87, 80%, 46%)
CMYKcmyk(36.4%, 0%, 79.7%, 53.7%)
CIE-LABlab(44.97, -30.38, 43.63)
CIE-LCHlch(44.97, 53.17, 124.85°)
OKLaboklab(51.54% -0.0861 0.0969)
OKLCHoklch(51.54% 0.13 131.6)
XYZxyz(9.5449, 14.5183, 3.1634)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7618 #431876
analogous
#767218 #4B7618 #1C7618
triadic
#4B7618 #184B76 #76184B
tetradic
#4B7618 #187672 #431876 #76181C
square
#4B7618 #187672 #431876 #76181C
split-complementary
#4B7618 #181C76 #721876
monochromatic
#101905 #2B430E #4B7618 #6BA922 #8BD533

Accessibility & contrast

On white

5.38
#4B7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4B7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7618
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7618#FFFFFF#000000##FFFFFF
##4B76181.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#4C7164
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4b7618;
/* rgb */ color: rgb(75, 118, 24);
/* oklch */ color: oklch(51.5% 0.130 131.6);
Tailwind
colors: {
  custom: {
    50: '#819e5d',
    500: '#4b7618',
    950: '#000000',
  },
}
SCSS
$custom: #4b7618;
$custom-light: #819e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7618",
  "rgb": {
    "r": 75,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 87.447,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51537,
    "c": 0.12961,
    "h": 131.6
  },
  "luminance": 0.14519
}

Semantic roles & 50–950 ramp

primary
#4B7618
secondary
#703FAB
accent
#3FE98D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B7618

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

Preview Lab → · Contrast checker → · Palette generator →

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