#4E6523#4E6523

#4E6523 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.3% C 0.096 H 126.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4E6523
RGBrgb(78, 101, 35)
HSLhsl(81, 49%, 27%)
HSVhsv(81, 65%, 40%)
CMYKcmyk(22.8%, 0%, 65.3%, 60.4%)
CIE-LABlab(39.66, -19.90, 33.64)
CIE-LCHlch(39.66, 39.08, 120.60°)
OKLaboklab(47.3% -0.0566 0.0776)
OKLCHoklch(47.3% 0.096 126.1)
XYZxyz(8.0990, 11.0483, 3.2956)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6523 #3A2365
analogous
#655B23 #4E6523 #2D6523
triadic
#4E6523 #234E65 #65234E
tetradic
#4E6523 #23655B #3A2365 #65232D
square
#4E6523 #23655B #3A2365 #65232D
split-complementary
#4E6523 #232D65 #5B2365
monochromatic
#121708 #2B3813 #4E6523 #719233 #94BE44

Accessibility & contrast

On white

6.54
#4E6523 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4E6523 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6523
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6523#FFFFFF#000000##FFFFFF
##4E65231.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1B
Deuteranopia (green-blind)
#675D28
Tritanopia (blue-blind)
#516057
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e6523;
/* rgb */ color: rgb(78, 101, 35);
/* oklch */ color: oklch(47.3% 0.096 126.1);
Tailwind
colors: {
  custom: {
    50: '#829161',
    500: '#4e6523',
    950: '#000000',
  },
}
SCSS
$custom: #4e6523;
$custom-light: #829161;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6523",
  "rgb": {
    "r": 78,
    "g": 101,
    "b": 35
  },
  "hsl": {
    "h": 80.909,
    "s": 48.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47303,
    "c": 0.09602,
    "h": 126.1
  },
  "luminance": 0.11048
}

Semantic roles & 50–950 ramp

primary
#4E6523
secondary
#664B99
accent
#50D87F
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #4E6523

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

Preview Lab → · Contrast checker → · Palette generator →

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