#4F5912#4F5912

#4F5912 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.1% C 0.092 H 117.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4F5912
RGBrgb(79, 89, 18)
HSLhsl(68, 66%, 21%)
HSVhsv(68, 80%, 35%)
CMYKcmyk(11.2%, 0%, 79.8%, 65.1%)
CIE-LABlab(35.70, -14.18, 37.10)
CIE-LCHlch(35.70, 39.72, 110.92°)
OKLaboklab(44.08% -0.0426 0.082)
OKLCHoklch(44.08% 0.092 117.5)
XYZxyz(6.9062, 8.8508, 1.9167)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5912 #1C1259
analogous
#593F12 #4F5912 #2B5912
triadic
#4F5912 #124F59 #59124F
tetradic
#4F5912 #12593F #1C1259 #59122B
square
#4F5912 #12593F #1C1259 #59122B
split-complementary
#4F5912 #122B59 #3F1259
monochromatic
#171905 #222608 #4F5912 #7C8C1C #A9BF27

Accessibility & contrast

On white

7.58
#4F5912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4F5912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5912
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5912#FFFFFF#000000##FFFFFF
##4F59121.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605404
Deuteranopia (green-blind)
#5F5418
Tritanopia (blue-blind)
#54544B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4f5912;
/* rgb */ color: rgb(79, 89, 18);
/* oklch */ color: oklch(44.1% 0.092 117.5);
Tailwind
colors: {
  custom: {
    50: '#838756',
    500: '#4f5912',
    950: '#000000',
  },
}
SCSS
$custom: #4f5912;
$custom-light: #838756;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5912",
  "rgb": {
    "r": 79,
    "g": 89,
    "b": 18
  },
  "hsl": {
    "h": 68.451,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4408,
    "c": 0.09241,
    "h": 117.5
  },
  "luminance": 0.08851
}

Semantic roles & 50–950 ramp

primary
#4F5912
secondary
#423592
accent
#3FE957
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5912

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

Preview Lab → · Contrast checker → · Palette generator →

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