#4E5D12#4E5D12

#4E5D12 is a mid, moderate yellow-green. Relative luminance 0.095; OKLCH L 45.0% C 0.098 H 120.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4E5D12
RGBrgb(78, 93, 18)
HSLhsl(72, 68%, 22%)
HSVhsv(72, 81%, 36%)
CMYKcmyk(16.1%, 0%, 80.6%, 63.5%)
CIE-LABlab(36.91, -16.86, 38.23)
CIE-LCHlch(36.91, 41.78, 113.80°)
OKLaboklab(45.04% -0.0499 0.0844)
OKLCHoklch(45.04% 0.098 120.6)
XYZxyz(7.1655, 9.4921, 2.0268)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5D12 #21125D
analogous
#5D4712 #4E5D12 #295D12
triadic
#4E5D12 #124E5D #5D124E
tetradic
#4E5D12 #125D47 #21125D #5D1229
square
#4E5D12 #125D47 #21125D #5D1229
split-complementary
#4E5D12 #12295D #47125D
monochromatic
#161A05 #232A08 #4E5D12 #79901C #A4C426

Accessibility & contrast

On white

7.25
#4E5D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4E5D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5D12
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5D12#FFFFFF#000000##FFFFFF
##4E5D121.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635703
Deuteranopia (green-blind)
#615719
Tritanopia (blue-blind)
#53584F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e5d12;
/* rgb */ color: rgb(78, 93, 18);
/* oklch */ color: oklch(45.0% 0.098 120.6);
Tailwind
colors: {
  custom: {
    50: '#828a57',
    500: '#4e5d12',
    950: '#000000',
  },
}
SCSS
$custom: #4e5d12;
$custom-light: #828a57;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5d12",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 72,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45041,
    "c": 0.09807,
    "h": 120.6
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

primary
#4E5D12
secondary
#493595
accent
#3DEA60
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5D12

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

Preview Lab → · Contrast checker → · Palette generator →

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