#4F5711#4F5711

#4F5711 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.6% C 0.091 H 116.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4F5711
RGBrgb(79, 87, 17)
HSLhsl(67, 67%, 20%)
HSVhsv(67, 80%, 34%)
CMYKcmyk(9.2%, 0%, 80.5%, 65.9%)
CIE-LABlab(35.04, -13.11, 36.87)
CIE-LCHlch(35.04, 39.13, 109.58°)
OKLaboklab(43.55% -0.0397 0.0813)
OKLCHoklch(43.55% 0.091 116.1)
XYZxyz(6.7340, 8.5192, 1.8198)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5711 #191157
analogous
#573C11 #4F5711 #2C5711
triadic
#4F5711 #114F57 #57114F
tetradic
#4F5711 #11573C #191157 #57112C
square
#4F5711 #11573C #191157 #57112C
split-complementary
#4F5711 #112C57 #3C1157
monochromatic
#171A05 #212407 #4F5711 #7D8A1B #ACBD25

Accessibility & contrast

On white

7.77
#4F5711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4F5711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5711
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5711#FFFFFF#000000##FFFFFF
##4F57111.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5203
Deuteranopia (green-blind)
#5D5317
Tritanopia (blue-blind)
#55524A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f5711;
/* rgb */ color: rgb(79, 87, 17);
/* oklch */ color: oklch(43.6% 0.091 116.1);
Tailwind
colors: {
  custom: {
    50: '#838655',
    500: '#4f5711',
    950: '#000000',
  },
}
SCSS
$custom: #4f5711;
$custom-light: #838655;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5711",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 66.857,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.43553,
    "c": 0.09051,
    "h": 116.1
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#4F5711
secondary
#3E3490
accent
#3EEA51
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5711

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

Preview Lab → · Contrast checker → · Palette generator →

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