#4B6827#4B6827

#4B6827 is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.9% C 0.098 H 129.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4B6827
RGBrgb(75, 104, 39)
HSLhsl(87, 45%, 28%)
HSVhsv(87, 63%, 41%)
CMYKcmyk(27.9%, 0%, 62.5%, 59.2%)
CIE-LABlab(40.48, -22.35, 32.52)
CIE-LCHlch(40.48, 39.46, 124.51°)
OKLaboklab(47.93% -0.0628 0.0757)
OKLCHoklch(47.93% 0.098 129.7)
XYZxyz(8.2181, 11.5428, 3.7141)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6827 #442768
analogous
#686427 #4B6827 #2A6827
triadic
#4B6827 #274B68 #68274B
tetradic
#4B6827 #276864 #442768 #68272A
square
#4B6827 #276864 #442768 #68272A
split-complementary
#4B6827 #272A68 #642768
monochromatic
#101608 #2B3B16 #4B6827 #6B9538 #8BBC4D

Accessibility & contrast

On white

6.35
#4B6827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4B6827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6827
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6827#FFFFFF#000000##FFFFFF
##4B68271.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6120
Deuteranopia (green-blind)
#695F2C
Tritanopia (blue-blind)
#4D645A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4b6827;
/* rgb */ color: rgb(75, 104, 39);
/* oklch */ color: oklch(47.9% 0.098 129.7);
Tailwind
colors: {
  custom: {
    50: '#7f9364',
    500: '#4b6827',
    950: '#000000',
  },
}
SCSS
$custom: #4b6827;
$custom-light: #7f9364;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6827",
  "rgb": {
    "r": 75,
    "g": 104,
    "b": 39
  },
  "hsl": {
    "h": 86.769,
    "s": 45.455,
    "l": 28.039
  },
  "oklch": {
    "l": 0.47926,
    "c": 0.09838,
    "h": 129.7
  },
  "luminance": 0.11543
}

Semantic roles & 50–950 ramp

primary
#4B6827
secondary
#71509B
accent
#53D58D
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D05
muted
#7C7E7A

Preview Lab

Preview with #4B6827

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

Preview Lab → · Contrast checker → · Palette generator →

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