#4F5810#4F5810

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

Color values

HEX#4F5810
RGBrgb(79, 88, 16)
HSLhsl(68, 69%, 20%)
HSVhsv(68, 82%, 35%)
CMYKcmyk(10.2%, 0%, 81.8%, 65.5%)
CIE-LABlab(35.36, -13.73, 37.54)
CIE-LCHlch(35.36, 39.97, 110.09°)
OKLaboklab(43.81% -0.0415 0.0825)
OKLCHoklch(43.81% 0.092 116.7)
XYZxyz(6.8079, 8.6792, 1.8067)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5810 #191058
analogous
#583D10 #4F5810 #2B5810
triadic
#4F5810 #104F58 #58104F
tetradic
#4F5810 #10583D #191058 #58102B
square
#4F5810 #10583D #191058 #58102B
split-complementary
#4F5810 #102B58 #3D1058
monochromatic
#171A05 #212407 #4F5810 #7D8C19 #ACC023

Accessibility & contrast

On white

7.68
#4F5810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F5810
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5810#FFFFFF#000000##FFFFFF
##4F58101.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5301
Deuteranopia (green-blind)
#5E5416
Tritanopia (blue-blind)
#55534A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f5810;
/* rgb */ color: rgb(79, 88, 16);
/* oklch */ color: oklch(43.8% 0.092 116.7);
Tailwind
colors: {
  custom: {
    50: '#838755',
    500: '#4f5810',
    950: '#000000',
  },
}
SCSS
$custom: #4f5810;
$custom-light: #838755;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5810",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 67.5,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.43806,
    "c": 0.09239,
    "h": 116.7
  },
  "luminance": 0.08679
}

Semantic roles & 50–950 ramp

primary
#4F5810
secondary
#3E3291
accent
#3CEC52
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5810

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

Preview Lab → · Contrast checker → · Palette generator →

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