#4E4907#4E4907

#4E4907 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.8% C 0.080 H 104.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#4E4907
RGBrgb(78, 73, 7)
HSLhsl(56, 84%, 17%)
HSVhsv(56, 91%, 31%)
CMYKcmyk(0%, 6.4%, 91%, 69.4%)
CIE-LABlab(30.40, -5.87, 36.21)
CIE-LCHlch(30.40, 36.68, 99.21°)
OKLaboklab(39.8% -0.0205 0.0778)
OKLCHoklch(39.8% 0.08 104.8)
XYZxyz(5.5630, 6.4004, 1.1433)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4907 #070C4E
analogous
#4E2607 #4E4907 #304E07
triadic
#4E4907 #074E49 #49074E
tetradic
#4E4907 #074E26 #070C4E #4E0730
square
#4E4907 #074E26 #070C4E #4E0730
split-complementary
#4E4907 #07304E #26074E
monochromatic
#1C1A03 #1C1A03 #4E4907 #867E0C #BEB211

Accessibility & contrast

On white

9.21
#4E4907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4E4907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4907
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4907#FFFFFF#000000##FFFFFF
##4E49071.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514600
Deuteranopia (green-blind)
#52490D
Tritanopia (blue-blind)
#55433D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e4907;
/* rgb */ color: rgb(78, 73, 7);
/* oklch */ color: oklch(39.8% 0.080 104.8);
Tailwind
colors: {
  custom: {
    50: '#837b4f',
    500: '#4e4907',
    950: '#000000',
  },
}
SCSS
$custom: #4e4907;
$custom-light: #837b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4907",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 7
  },
  "hsl": {
    "h": 55.775,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.398,
    "c": 0.08044,
    "h": 104.8
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#4E4907
secondary
#252C8C
accent
#3CFA2E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #4E4907

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

Preview Lab → · Contrast checker → · Palette generator →

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