#4B7818#4B7818

#4B7818 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.1% C 0.132 H 132.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4B7818
RGBrgb(75, 120, 24)
HSLhsl(88, 67%, 28%)
HSVhsv(88, 80%, 47%)
CMYKcmyk(37.5%, 0%, 80%, 52.9%)
CIE-LABlab(45.63, -31.31, 44.26)
CIE-LCHlch(45.63, 54.21, 125.28°)
OKLaboklab(52.08% -0.0886 0.0982)
OKLCHoklch(52.08% 0.132 132)
XYZxyz(9.7829, 14.9943, 3.2427)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7818 #451878
analogous
#787518 #4B7818 #1B7818
triadic
#4B7818 #184B78 #78184B
tetradic
#4B7818 #187875 #451878 #78181B
square
#4B7818 #187875 #451878 #78181B
split-complementary
#4B7818 #181B78 #751878
monochromatic
#101A05 #2B450E #4B7818 #6BAB22 #8AD634

Accessibility & contrast

On white

5.25
#4B7818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4B7818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7818
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7818#FFFFFF#000000##FFFFFF
##4B78181.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#776B22
Tritanopia (blue-blind)
#4C7366
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4b7818;
/* rgb */ color: rgb(75, 120, 24);
/* oklch */ color: oklch(52.1% 0.132 132.0);
Tailwind
colors: {
  custom: {
    50: '#829f5d',
    500: '#4b7818',
    950: '#000000',
  },
}
SCSS
$custom: #4b7818;
$custom-light: #829f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7818",
  "rgb": {
    "r": 75,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 88.125,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52076,
    "c": 0.13226,
    "h": 132
  },
  "luminance": 0.14995
}

Semantic roles & 50–950 ramp

primary
#4B7818
secondary
#723FAD
accent
#3EEA8F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B7818

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

Preview Lab → · Contrast checker → · Palette generator →

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