#4E5312#4E5312

#4E5312 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.4% C 0.085 H 113.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#4E5312
RGBrgb(78, 83, 18)
HSLhsl(65, 64%, 20%)
HSVhsv(65, 78%, 33%)
CMYKcmyk(6%, 0%, 78.3%, 67.5%)
CIE-LABlab(33.67, -11.26, 35.13)
CIE-LCHlch(33.67, 36.89, 107.77°)
OKLaboklab(42.43% -0.0344 0.0779)
OKLCHoklch(42.43% 0.085 113.9)
XYZxyz(6.3445, 7.8500, 1.7531)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5312 #171253
analogous
#533712 #4E5312 #2E5312
triadic
#4E5312 #124E53 #53124E
tetradic
#4E5312 #125337 #171253 #53122E
square
#4E5312 #125337 #171253 #53122E
split-complementary
#4E5312 #122E53 #371253
monochromatic
#181905 #1F2107 #4E5312 #7D851D #ADB828

Accessibility & contrast

On white

8.17
#4E5312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E5312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5312
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5312#FFFFFF#000000##FFFFFF
##4E53121.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#595017
Tritanopia (blue-blind)
#544E46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e5312;
/* rgb */ color: rgb(78, 83, 18);
/* oklch */ color: oklch(42.4% 0.085 113.9);
Tailwind
colors: {
  custom: {
    50: '#828355',
    500: '#4e5312',
    950: '#000000',
  },
}
SCSS
$custom: #4e5312;
$custom-light: #828355;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5312",
  "rgb": {
    "r": 78,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 64.615,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42431,
    "c": 0.08516,
    "h": 113.9
  },
  "luminance": 0.0785
}

Semantic roles & 50–950 ramp

primary
#4E5312
secondary
#3C358C
accent
#40E74D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4E5312

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

Preview Lab → · Contrast checker → · Palette generator →

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