#4F5811#4F5811

#4F5811 is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 43.8% C 0.092 H 116.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4F5811
RGBrgb(79, 88, 17)
HSLhsl(68, 68%, 21%)
HSVhsv(68, 81%, 35%)
CMYKcmyk(10.2%, 0%, 80.7%, 65.5%)
CIE-LABlab(35.37, -13.68, 37.17)
CIE-LCHlch(35.37, 39.61, 110.20°)
OKLaboklab(43.81% -0.0413 0.082)
OKLCHoklch(43.81% 0.092 116.8)
XYZxyz(6.8155, 8.6823, 1.8470)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5811 #1A1158
analogous
#583D11 #4F5811 #2B5811
triadic
#4F5811 #114F58 #58114F
tetradic
#4F5811 #11583D #1A1158 #58112B
square
#4F5811 #11583D #1A1158 #58112B
split-complementary
#4F5811 #112B58 #3D1158
monochromatic
#171A05 #212507 #4F5811 #7D8B1B #ABBF25

Accessibility & contrast

On white

7.67
#4F5811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4F5811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5811
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5811#FFFFFF#000000##FFFFFF
##4F58111.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5303
Deuteranopia (green-blind)
#5E5417
Tritanopia (blue-blind)
#54534B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f5811;
/* rgb */ color: rgb(79, 88, 17);
/* oklch */ color: oklch(43.8% 0.092 116.8);
Tailwind
colors: {
  custom: {
    50: '#838755',
    500: '#4f5811',
    950: '#000000',
  },
}
SCSS
$custom: #4f5811;
$custom-light: #838755;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5811",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 67.606,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43812,
    "c": 0.09177,
    "h": 116.8
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#4F5811
secondary
#403491
accent
#3DEA53
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5811

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

Preview Lab → · Contrast checker → · Palette generator →

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