#4F5B0D#4F5B0D

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

Color values

HEX#4F5B0D
RGBrgb(79, 91, 13)
HSLhsl(69, 75%, 20%)
HSVhsv(69, 86%, 36%)
CMYKcmyk(13.2%, 0%, 85.7%, 64.3%)
CIE-LABlab(36.32, -15.54, 39.44)
CIE-LCHlch(36.32, 42.39, 111.50°)
OKLaboklab(44.57% -0.0468 0.086)
OKLCHoklch(44.57% 0.098 118.6)
XYZxyz(7.0383, 9.1736, 1.7806)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5B0D #190D5B
analogous
#5B400D #4F5B0D #285B0D
triadic
#4F5B0D #0D4F5B #5B0D4F
tetradic
#4F5B0D #0D5B40 #190D5B #5B0D28
square
#4F5B0D #0D5B40 #190D5B #5B0D28
split-complementary
#4F5B0D #0D285B #400D5B
monochromatic
#171B04 #212505 #4F5B0D #7D9115 #ACC61C

Accessibility & contrast

On white

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

On black

2.83
#4F5B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4F5B0D#FFFFFF#000000##FFFFFF
##4F5B0D1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5b0d;
/* rgb */ color: rgb(79, 91, 13);
/* oklch */ color: oklch(44.6% 0.098 118.6);
Tailwind
colors: {
  custom: {
    50: '#838954',
    500: '#4f5b0d',
    950: '#000000',
  },
}
SCSS
$custom: #4f5b0d;
$custom-light: #838954;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5b0d",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 13
  },
  "hsl": {
    "h": 69.231,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.44571,
    "c": 0.09787,
    "h": 118.6
  },
  "luminance": 0.09173
}

Semantic roles & 50–950 ramp

primary
#4F5B0D
secondary
#3E2F95
accent
#36F253
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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