#4B6823#4B6823

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

Color values

HEX#4B6823
RGBrgb(75, 104, 35)
HSLhsl(85, 50%, 27%)
HSVhsv(85, 66%, 41%)
CMYKcmyk(27.9%, 0%, 66.3%, 59.2%)
CIE-LABlab(40.44, -22.74, 34.43)
CIE-LCHlch(40.44, 41.26, 123.44°)
OKLaboklab(47.88% -0.0642 0.0793)
OKLCHoklch(47.88% 0.102 129)
XYZxyz(8.1553, 11.5176, 3.3832)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B6823 #402368
analogous
#686223 #4B6823 #296823
triadic
#4B6823 #234B68 #68234B
tetradic
#4B6823 #236862 #402368 #682329
square
#4B6823 #236862 #402368 #682329
split-complementary
#4B6823 #232968 #622368
monochromatic
#111708 #2A3A14 #4B6823 #6C9632 #8DC045

Accessibility & contrast

On white

6.36
#4B6823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4B6823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B6823
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B6823#FFFFFF#000000##FFFFFF
##4B68231.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D611B
Deuteranopia (green-blind)
#695F28
Tritanopia (blue-blind)
#4D635A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4b6823;
/* rgb */ color: rgb(75, 104, 35);
/* oklch */ color: oklch(47.9% 0.102 129.0);
Tailwind
colors: {
  custom: {
    50: '#809361',
    500: '#4b6823',
    950: '#000000',
  },
}
SCSS
$custom: #4b6823;
$custom-light: #809361;
$custom-dark: #000000;
JSON
{
  "hex": "#4b6823",
  "rgb": {
    "r": 75,
    "g": 104,
    "b": 35
  },
  "hsl": {
    "h": 85.217,
    "s": 49.64,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47879,
    "c": 0.10206,
    "h": 129
  },
  "luminance": 0.11518
}

Semantic roles & 50–950 ramp

primary
#4B6823
secondary
#6D4B9B
accent
#4FD989
background
#F7F9F5
surface
#EEF1EA
border
#C9CBC6
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #4B6823

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

Preview Lab → · Contrast checker → · Palette generator →

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