#4F5113#4F5113

#4F5113 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.0% C 0.082 H 111.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4F5113
RGBrgb(79, 81, 19)
HSLhsl(62, 62%, 20%)
HSVhsv(62, 77%, 32%)
CMYKcmyk(2.5%, 0%, 76.5%, 68.2%)
CIE-LABlab(33.12, -9.55, 34.22)
CIE-LCHlch(33.12, 35.52, 105.60°)
OKLaboklab(42.02% -0.0296 0.0761)
OKLCHoklch(42.02% 0.082 111.3)
XYZxyz(6.2846, 7.5943, 1.7508)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5113 #151351
analogous
#513413 #4F5113 #305113
triadic
#4F5113 #134F51 #51134F
tetradic
#4F5113 #135134 #151351 #511330
square
#4F5113 #135134 #151351 #511330
split-complementary
#4F5113 #133051 #341351
monochromatic
#181906 #1F1F07 #4F5113 #7F831F #B0B42A

Accessibility & contrast

On white

8.34
#4F5113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4F5113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5113
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5113#FFFFFF#000000##FFFFFF
##4F51131.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D09
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#554C45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f5113;
/* rgb */ color: rgb(79, 81, 19);
/* oklch */ color: oklch(42.0% 0.082 111.3);
Tailwind
colors: {
  custom: {
    50: '#838155',
    500: '#4f5113',
    950: '#000000',
  },
}
SCSS
$custom: #4f5113;
$custom-light: #838155;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5113",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 61.935,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.42019,
    "c": 0.08168,
    "h": 111.3
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#4F5113
secondary
#39368A
accent
#43E548
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5113

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

Preview Lab → · Contrast checker → · Palette generator →

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