#4F5710#4F5710

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

Color values

HEX#4F5710
RGBrgb(79, 87, 16)
HSLhsl(67, 69%, 20%)
HSVhsv(67, 82%, 34%)
CMYKcmyk(9.2%, 0%, 81.6%, 65.9%)
CIE-LABlab(35.04, -13.16, 37.24)
CIE-LCHlch(35.04, 39.50, 109.47°)
OKLaboklab(43.55% -0.04 0.0819)
OKLCHoklch(43.55% 0.091 116)
XYZxyz(6.7264, 8.5162, 1.7796)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5710 #181057
analogous
#573C10 #4F5710 #2B5710
triadic
#4F5710 #104F57 #57104F
tetradic
#4F5710 #10573C #181057 #57102B
square
#4F5710 #10573C #181057 #57102B
split-complementary
#4F5710 #102B57 #3C1057
monochromatic
#171A05 #202306 #4F5710 #7E8B1A #ADBE23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F5710#FFFFFF#000000##FFFFFF
##4F57101.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)
#5E5202
Deuteranopia (green-blind)
#5D5316
Tritanopia (blue-blind)
#55524A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f5710;
/* rgb */ color: rgb(79, 87, 16);
/* oklch */ color: oklch(43.5% 0.091 116.0);
Tailwind
colors: {
  custom: {
    50: '#838655',
    500: '#4f5710',
    950: '#000000',
  },
}
SCSS
$custom: #4f5710;
$custom-light: #838655;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5710",
  "rgb": {
    "r": 79,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 66.761,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.43546,
    "c": 0.09113,
    "h": 116
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

primary
#4F5710
secondary
#3D3290
accent
#3CEC50
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5710

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

Preview Lab → · Contrast checker → · Palette generator →

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