#4E5F25#4E5F25

#4E5F25 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.8% C 0.085 H 123.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4E5F25
RGBrgb(78, 95, 37)
HSLhsl(78, 44%, 26%)
HSVhsv(78, 61%, 37%)
CMYKcmyk(17.9%, 0%, 61.1%, 62.7%)
CIE-LABlab(37.73, -16.49, 30.48)
CIE-LCHlch(37.73, 34.65, 118.42°)
OKLaboklab(45.75% -0.0469 0.0711)
OKLCHoklch(45.75% 0.085 123.4)
XYZxyz(7.5681, 9.9377, 3.2694)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F25 #36255F
analogous
#5F5325 #4E5F25 #315F25
triadic
#4E5F25 #254E5F #5F254E
tetradic
#4E5F25 #255F53 #36255F #5F2531
square
#4E5F25 #255F53 #36255F #5F2531
split-complementary
#4E5F25 #25315F #53255F
monochromatic
#121609 #2A3314 #4E5F25 #728B36 #96B747

Accessibility & contrast

On white

7.03
#4E5F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E5F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5F25
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F25#FFFFFF#000000##FFFFFF
##4E5F251.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591F
Deuteranopia (green-blind)
#625929
Tritanopia (blue-blind)
#525A52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5f25;
/* rgb */ color: rgb(78, 95, 37);
/* oklch */ color: oklch(45.8% 0.085 123.4);
Tailwind
colors: {
  custom: {
    50: '#818c62',
    500: '#4e5f25',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f25;
$custom-light: #818c62;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f25",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 37
  },
  "hsl": {
    "h": 77.586,
    "s": 43.939,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45751,
    "c": 0.08517,
    "h": 123.4
  },
  "luminance": 0.09938
}

Semantic roles & 50–950 ramp

primary
#4E5F25
secondary
#624D92
accent
#54D47A
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4E5F25

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

Preview Lab → · Contrast checker → · Palette generator →

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