#4F5B0F#4F5B0F

#4F5B0F is a dark, moderate yellow. Relative luminance 0.092; OKLCH L 44.6% C 0.097 H 118.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#4F5B0F
RGBrgb(79, 91, 15)
HSLhsl(69, 72%, 21%)
HSVhsv(69, 84%, 36%)
CMYKcmyk(13.2%, 0%, 83.5%, 64.3%)
CIE-LABlab(36.33, -15.45, 38.78)
CIE-LCHlch(36.33, 41.75, 111.72°)
OKLaboklab(44.58% -0.0464 0.085)
OKLCHoklch(44.58% 0.097 118.6)
XYZxyz(7.0519, 9.1790, 1.8521)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5B0F #1B0F5B
analogous
#5B410F #4F5B0F #295B0F
triadic
#4F5B0F #0F4F5B #5B0F4F
tetradic
#4F5B0F #0F5B41 #1B0F5B #5B0F29
square
#4F5B0F #0F5B41 #1B0F5B #5B0F29
split-complementary
#4F5B0F #0F295B #410F5B
monochromatic
#171A04 #212606 #4F5B0F #7D9018 #AAC420

Accessibility & contrast

On white

7.41
#4F5B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4F5B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5B0F
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5B0F#FFFFFF#000000##FFFFFF
##4F5B0F1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625500
Deuteranopia (green-blind)
#605616
Tritanopia (blue-blind)
#54564D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f5b0f;
/* rgb */ color: rgb(79, 91, 15);
/* oklch */ color: oklch(44.6% 0.097 118.6);
Tailwind
colors: {
  custom: {
    50: '#838955',
    500: '#4f5b0f',
    950: '#000000',
  },
}
SCSS
$custom: #4f5b0f;
$custom-light: #838955;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5b0f",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 15
  },
  "hsl": {
    "h": 69.474,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44582,
    "c": 0.0968,
    "h": 118.6
  },
  "luminance": 0.09179
}

Semantic roles & 50–950 ramp

primary
#4F5B0F
secondary
#413195
accent
#39EE56
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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