#4E5F0F#4E5F0F

#4E5F0F is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.5% C 0.102 H 121.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#4E5F0F
RGBrgb(78, 95, 15)
HSLhsl(73, 73%, 22%)
HSVhsv(73, 84%, 37%)
CMYKcmyk(17.9%, 0%, 84.2%, 62.7%)
CIE-LABlab(37.55, -18.09, 39.87)
CIE-LCHlch(37.55, 43.78, 114.41°)
OKLaboklab(45.55% -0.0536 0.0873)
OKLCHoklch(45.55% 0.102 121.5)
XYZxyz(7.3204, 9.8386, 1.9652)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F0F #200F5F
analogous
#5F480F #4E5F0F #265F0F
triadic
#4E5F0F #0F4E5F #5F0F4E
tetradic
#4E5F0F #0F5F48 #200F5F #5F0F26
square
#4E5F0F #0F5F48 #200F5F #5F0F26
split-complementary
#4E5F0F #0F265F #480F5F
monochromatic
#161A04 #232A07 #4E5F0F #799417 #A5C920

Accessibility & contrast

On white

7.08
#4E5F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4E5F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5F0F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F0F#FFFFFF#000000##FFFFFF
##4E5F0F1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#635817
Tritanopia (blue-blind)
#535A50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e5f0f;
/* rgb */ color: rgb(78, 95, 15);
/* oklch */ color: oklch(45.5% 0.102 121.5);
Tailwind
colors: {
  custom: {
    50: '#828c56',
    500: '#4e5f0f',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f0f;
$custom-light: #828c56;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f0f",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 72.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45549,
    "c": 0.10242,
    "h": 121.5
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#4E5F0F
secondary
#473298
accent
#38EF5F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4E5F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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