#4E6225#4E6225

#4E6225 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.5% C 0.090 H 125.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4E6225
RGBrgb(78, 98, 37)
HSLhsl(80, 45%, 26%)
HSVhsv(80, 62%, 38%)
CMYKcmyk(20.4%, 0%, 62.2%, 61.6%)
CIE-LABlab(38.71, -18.11, 31.58)
CIE-LCHlch(38.71, 36.41, 119.84°)
OKLaboklab(46.54% -0.0514 0.0734)
OKLCHoklch(46.54% 0.09 125)
XYZxyz(7.8435, 10.4886, 3.3612)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6225 #392562
analogous
#625825 #4E6225 #306225
triadic
#4E6225 #254E62 #62254E
tetradic
#4E6225 #256258 #392562 #622530
square
#4E6225 #256258 #392562 #622530
split-complementary
#4E6225 #253062 #582562
monochromatic
#121608 #2B3614 #4E6225 #718E36 #94BA48

Accessibility & contrast

On white

6.78
#4E6225 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4E6225 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6225
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6225#FFFFFF#000000##FFFFFF
##4E62251.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C1E
Deuteranopia (green-blind)
#655B29
Tritanopia (blue-blind)
#515D55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6225;
/* rgb */ color: rgb(78, 98, 37);
/* oklch */ color: oklch(46.5% 0.090 125.0);
Tailwind
colors: {
  custom: {
    50: '#818e62',
    500: '#4e6225',
    950: '#000000',
  },
}
SCSS
$custom: #4e6225;
$custom-light: #818e62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6225",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 37
  },
  "hsl": {
    "h": 79.672,
    "s": 45.185,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46537,
    "c": 0.08967,
    "h": 125
  },
  "luminance": 0.10489
}

Semantic roles & 50–950 ramp

primary
#4E6225
secondary
#654E95
accent
#53D57E
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4E6225

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

Preview Lab → · Contrast checker → · Palette generator →

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