#4F5512#4F5512

#4F5512 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.0% C 0.087 H 114.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4F5512
RGBrgb(79, 85, 18)
HSLhsl(65, 65%, 20%)
HSVhsv(65, 79%, 33%)
CMYKcmyk(7.1%, 0%, 78.8%, 66.7%)
CIE-LABlab(34.40, -11.92, 35.87)
CIE-LCHlch(34.40, 37.80, 108.39°)
OKLaboklab(43.04% -0.0363 0.0794)
OKLCHoklch(43.04% 0.087 114.6)
XYZxyz(6.5823, 8.2031, 1.8088)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5512 #181255
analogous
#553912 #4F5512 #2D5512
triadic
#4F5512 #124F55 #55124F
tetradic
#4F5512 #125539 #181255 #55122D
square
#4F5512 #125539 #181255 #55122D
split-complementary
#4F5512 #122D55 #391255
monochromatic
#171905 #202207 #4F5512 #7E881D #ADBA27

Accessibility & contrast

On white

7.95
#4F5512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4F5512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5512
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5512#FFFFFF#000000##FFFFFF
##4F55121.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5006
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#555048
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f5512;
/* rgb */ color: rgb(79, 85, 18);
/* oklch */ color: oklch(43.0% 0.087 114.6);
Tailwind
colors: {
  custom: {
    50: '#838455',
    500: '#4f5512',
    950: '#000000',
  },
}
SCSS
$custom: #4f5512;
$custom-light: #838455;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5512",
  "rgb": {
    "r": 79,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 65.373,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.43041,
    "c": 0.08733,
    "h": 114.6
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#4F5512
secondary
#3D358E
accent
#40E84F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5512

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

Preview Lab → · Contrast checker → · Palette generator →

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