#4F5115#4F5115

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

Color values

HEX#4F5115
RGBrgb(79, 81, 21)
HSLhsl(62, 59%, 20%)
HSVhsv(62, 74%, 32%)
CMYKcmyk(2.5%, 0%, 74.1%, 68.2%)
CIE-LABlab(33.14, -9.43, 33.36)
CIE-LCHlch(33.14, 34.66, 105.78°)
OKLaboklab(42.04% -0.0291 0.0747)
OKLCHoklch(42.04% 0.08 111.3)
XYZxyz(6.3024, 7.6014, 1.8445)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5115 #171551
analogous
#513515 #4F5115 #315115
triadic
#4F5115 #154F51 #51154F
tetradic
#4F5115 #155135 #171551 #511531
square
#4F5115 #155135 #171551 #511531
split-complementary
#4F5115 #153151 #351551
monochromatic
#181806 #202008 #4F5115 #7E8222 #AEB22E

Accessibility & contrast

On white

8.33
#4F5115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F5115
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5115#FFFFFF#000000##FFFFFF
##4F51151.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5115;
/* rgb */ color: rgb(79, 81, 21);
/* oklch */ color: oklch(42.0% 0.080 111.3);
Tailwind
colors: {
  custom: {
    50: '#838157',
    500: '#4f5115',
    950: '#000000',
  },
}
SCSS
$custom: #4f5115;
$custom-light: #838157;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5115",
  "rgb": {
    "r": 79,
    "g": 81,
    "b": 21
  },
  "hsl": {
    "h": 62,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.42037,
    "c": 0.08014,
    "h": 111.3
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#4F5115
secondary
#3C3989
accent
#46E24B
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5115

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

Preview Lab → · Contrast checker → · Palette generator →

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