#4E5219#4E5219

#4E5219 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.2% C 0.078 H 113.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4E5219
RGBrgb(78, 82, 25)
HSLhsl(64, 53%, 21%)
HSVhsv(64, 70%, 32%)
CMYKcmyk(4.9%, 0%, 69.5%, 67.8%)
CIE-LABlab(33.40, -10.22, 31.74)
CIE-LCHlch(33.40, 33.34, 107.85°)
OKLaboklab(42.24% -0.0307 0.072)
OKLCHoklch(42.24% 0.078 113.1)
XYZxyz(6.3348, 7.7246, 2.0768)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5219 #1D1952
analogous
#523919 #4E5219 #315219
triadic
#4E5219 #194E52 #52194E
tetradic
#4E5219 #195239 #1D1952 #521931
square
#4E5219 #195239 #1D1952 #521931
split-complementary
#4E5219 #193152 #391952
monochromatic
#161707 #21230B #4E5219 #7B8127 #A7B036

Accessibility & contrast

On white

8.25
#4E5219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E5219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5219
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5219#FFFFFF#000000##FFFFFF
##4E52191.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E12
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#534D46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5219;
/* rgb */ color: rgb(78, 82, 25);
/* oklch */ color: oklch(42.2% 0.078 113.1);
Tailwind
colors: {
  custom: {
    50: '#818259',
    500: '#4e5219',
    950: '#000000',
  },
}
SCSS
$custom: #4e5219;
$custom-light: #818259;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5219",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 25
  },
  "hsl": {
    "h": 64.211,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42236,
    "c": 0.07832,
    "h": 113.1
  },
  "luminance": 0.07724
}

Semantic roles & 50–950 ramp

primary
#4E5219
secondary
#443E88
accent
#4BDD55
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #4E5219

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

Preview Lab → · Contrast checker → · Palette generator →

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