#4F5312#4F5312

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

Color values

HEX#4F5312
RGBrgb(79, 83, 18)
HSLhsl(64, 64%, 20%)
HSVhsv(64, 78%, 33%)
CMYKcmyk(4.8%, 0%, 78.3%, 67.5%)
CIE-LABlab(33.76, -10.77, 35.25)
CIE-LCHlch(33.76, 36.86, 106.99°)
OKLaboklab(42.53% -0.0331 0.0781)
OKLCHoklch(42.53% 0.085 113)
XYZxyz(6.4271, 7.8926, 1.7570)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5312 #161253
analogous
#533612 #4F5312 #2F5312
triadic
#4F5312 #124F53 #53124F
tetradic
#4F5312 #125336 #161253 #53122F
square
#4F5312 #125336 #161253 #53122F
split-complementary
#4F5312 #122F53 #361253
monochromatic
#181905 #1F2107 #4F5312 #7F851D #AFB828

Accessibility & contrast

On white

8.14
#4F5312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4F5312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5312
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5312#FFFFFF#000000##FFFFFF
##4F53121.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5312;
/* rgb */ color: rgb(79, 83, 18);
/* oklch */ color: oklch(42.5% 0.085 113.0);
Tailwind
colors: {
  custom: {
    50: '#838355',
    500: '#4f5312',
    950: '#000000',
  },
}
SCSS
$custom: #4f5312;
$custom-light: #838355;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5312",
  "rgb": {
    "r": 79,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 63.692,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42525,
    "c": 0.08483,
    "h": 113
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#4F5312
secondary
#3A358C
accent
#40E74B
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5312

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

Preview Lab → · Contrast checker → · Palette generator →

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