#4F530F#4F530F

#4F530F is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.5% C 0.087 H 113.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4F530F
RGBrgb(79, 83, 15)
HSLhsl(64, 69%, 19%)
HSVhsv(64, 82%, 33%)
CMYKcmyk(4.8%, 0%, 81.9%, 67.5%)
CIE-LABlab(33.74, -10.93, 36.40)
CIE-LCHlch(33.74, 38.01, 106.72°)
OKLaboklab(42.5% -0.0339 0.0799)
OKLCHoklch(42.5% 0.087 113)
XYZxyz(6.4041, 7.8834, 1.6361)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F530F #130F53
analogous
#53350F #4F530F #2D530F
triadic
#4F530F #0F4F53 #530F4F
tetradic
#4F530F #0F5335 #130F53 #530F2D
square
#4F530F #0F5335 #130F53 #530F2D
split-complementary
#4F530F #0F2D53 #350F53
monochromatic
#191A05 #1E1F06 #4F530F #808718 #B2BB22

Accessibility & contrast

On white

8.15
#4F530F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4F530F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F530F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F530F#FFFFFF#000000##FFFFFF
##4F530F1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F02
Deuteranopia (green-blind)
#5A5015
Tritanopia (blue-blind)
#554D46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f530f;
/* rgb */ color: rgb(79, 83, 15);
/* oklch */ color: oklch(42.5% 0.087 113.0);
Tailwind
colors: {
  custom: {
    50: '#838354',
    500: '#4f530f',
    950: '#000000',
  },
}
SCSS
$custom: #4f530f;
$custom-light: #838354;
$custom-dark: #000000;
JSON
{
  "hex": "#4f530f",
  "rgb": {
    "r": 79,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 63.529,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.42504,
    "c": 0.08681,
    "h": 113
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#4F530F
secondary
#36318D
accent
#3CEC46
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F530F

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

Preview Lab → · Contrast checker → · Palette generator →

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