#4F580F#4F580F

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

Color values

HEX#4F580F
RGBrgb(79, 88, 15)
HSLhsl(67, 71%, 20%)
HSVhsv(67, 83%, 35%)
CMYKcmyk(10.2%, 0%, 83%, 65.5%)
CIE-LABlab(35.35, -13.78, 37.89)
CIE-LCHlch(35.35, 40.32, 109.98°)
OKLaboklab(43.8% -0.0418 0.0831)
OKLCHoklch(43.8% 0.093 116.7)
XYZxyz(6.8006, 8.6763, 1.7683)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F580F #180F58
analogous
#583C0F #4F580F #2B580F
triadic
#4F580F #0F4F58 #580F4F
tetradic
#4F580F #0F583C #180F58 #580F2B
square
#4F580F #0F583C #180F58 #580F2B
split-complementary
#4F580F #0F2B58 #3C0F58
monochromatic
#171A04 #202406 #4F580F #7E8C18 #ADC121

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F580F#FFFFFF#000000##FFFFFF
##4F580F1.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)
#5F5300
Deuteranopia (green-blind)
#5E5416
Tritanopia (blue-blind)
#55524A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f580f;
/* rgb */ color: rgb(79, 88, 15);
/* oklch */ color: oklch(43.8% 0.093 116.7);
Tailwind
colors: {
  custom: {
    50: '#838755',
    500: '#4f580f',
    950: '#000000',
  },
}
SCSS
$custom: #4f580f;
$custom-light: #838755;
$custom-dark: #000000;
JSON
{
  "hex": "#4f580f",
  "rgb": {
    "r": 79,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 67.397,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.43799,
    "c": 0.09299,
    "h": 116.7
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#4F580F
secondary
#3D3192
accent
#3AEE50
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F580F

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

Preview Lab → · Contrast checker → · Palette generator →

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