#4E5F12#4E5F12

#4E5F12 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.6% C 0.101 H 121.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4E5F12
RGBrgb(78, 95, 18)
HSLhsl(73, 68%, 22%)
HSVhsv(73, 81%, 37%)
CMYKcmyk(17.9%, 0%, 81.1%, 62.7%)
CIE-LABlab(37.57, -17.94, 38.84)
CIE-LCHlch(37.57, 42.78, 114.79°)
OKLaboklab(45.57% -0.0529 0.0857)
OKLCHoklch(45.57% 0.101 121.7)
XYZxyz(7.3434, 9.8478, 2.0861)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F12 #23125F
analogous
#5F4A12 #4E5F12 #275F12
triadic
#4E5F12 #124E5F #5F124E
tetradic
#4E5F12 #125F4A #23125F #5F1227
square
#4E5F12 #125F4A #23125F #5F1227
split-complementary
#4E5F12 #12275F #4A125F
monochromatic
#151A05 #242C08 #4E5F12 #78921C #A2C625

Accessibility & contrast

On white

7.07
#4E5F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5F12
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F12#FFFFFF#000000##FFFFFF
##4E5F121.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655902
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#535A51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e5f12;
/* rgb */ color: rgb(78, 95, 18);
/* oklch */ color: oklch(45.6% 0.101 121.7);
Tailwind
colors: {
  custom: {
    50: '#828c57',
    500: '#4e5f12',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f12;
$custom-light: #828c57;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f12",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 73.247,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45568,
    "c": 0.10071,
    "h": 121.7
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#4E5F12
secondary
#4B3697
accent
#3DEB63
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4E5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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