#4E5915#4E5915

#4E5915 is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.0% C 0.091 H 118.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4E5915
RGBrgb(78, 89, 21)
HSLhsl(70, 62%, 22%)
HSVhsv(70, 76%, 35%)
CMYKcmyk(12.4%, 0%, 76.4%, 65.1%)
CIE-LABlab(35.63, -14.48, 35.81)
CIE-LCHlch(35.63, 38.63, 112.02°)
OKLaboklab(44.02% -0.0431 0.0799)
OKLCHoklch(44.02% 0.091 118.3)
XYZxyz(6.8498, 8.8187, 2.0506)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5915 #201559
analogous
#594215 #4E5915 #2C5915
triadic
#4E5915 #154E59 #59154E
tetradic
#4E5915 #155942 #201559 #59152C
square
#4E5915 #155942 #201559 #59152C
split-complementary
#4E5915 #152C59 #421559
monochromatic
#161906 #232709 #4E5915 #798B21 #A5BC2C

Accessibility & contrast

On white

7.60
#4E5915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E5915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5915
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5915#FFFFFF#000000##FFFFFF
##4E59151.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5409
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#53544C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e5915;
/* rgb */ color: rgb(78, 89, 21);
/* oklch */ color: oklch(44.0% 0.091 118.3);
Tailwind
colors: {
  custom: {
    50: '#828758',
    500: '#4e5915',
    950: '#000000',
  },
}
SCSS
$custom: #4e5915;
$custom-light: #828758;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5915",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 69.706,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44015,
    "c": 0.09075,
    "h": 118.3
  },
  "luminance": 0.08819
}

Semantic roles & 50–950 ramp

primary
#4E5915
secondary
#473991
accent
#43E55D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4E5915

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

Preview Lab → · Contrast checker → · Palette generator →

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