#4F4915#4F4915

#4F4915 is a dark, moderate yellow. Relative luminance 0.065; OKLCH L 40.0% C 0.071 H 102.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#4F4915
RGBrgb(79, 73, 21)
HSLhsl(54, 58%, 20%)
HSVhsv(54, 73%, 31%)
CMYKcmyk(0%, 7.6%, 73.4%, 69%)
CIE-LABlab(30.60, -4.65, 30.77)
CIE-LCHlch(30.60, 31.12, 98.59°)
OKLaboklab(40.01% -0.0156 0.0692)
OKLCHoklch(40.01% 0.071 102.7)
XYZxyz(5.7426, 6.4817, 1.6579)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4915 #151B4F
analogous
#4F2C15 #4F4915 #384F15
triadic
#4F4915 #154F49 #49154F
tetradic
#4F4915 #154F2C #151B4F #4F1538
square
#4F4915 #154F2C #151B4F #4F1538
split-complementary
#4F4915 #15384F #2C154F
monochromatic
#181606 #1F1C08 #4F4915 #7F7622 #B0A22F

Accessibility & contrast

On white

9.15
#4F4915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4F4915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4915
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4915#FFFFFF#000000##FFFFFF
##4F49151.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460E
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#55443E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f4915;
/* rgb */ color: rgb(79, 73, 21);
/* oklch */ color: oklch(40.0% 0.071 102.7);
Tailwind
colors: {
  custom: {
    50: '#837b56',
    500: '#4f4915',
    950: '#000000',
  },
}
SCSS
$custom: #4f4915;
$custom-light: #837b56;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4915",
  "rgb": {
    "r": 79,
    "g": 73,
    "b": 21
  },
  "hsl": {
    "h": 53.793,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.4001,
    "c": 0.07096,
    "h": 102.7
  },
  "luminance": 0.06481
}

Semantic roles & 50–950 ramp

primary
#4F4915
secondary
#394187
accent
#57E147
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #4F4915

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

Preview Lab → · Contrast checker → · Palette generator →

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