#4F530D#4F530D

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

Color values

HEX#4F530D
RGBrgb(79, 83, 13)
HSLhsl(63, 73%, 19%)
HSVhsv(63, 84%, 33%)
CMYKcmyk(4.8%, 0%, 84.3%, 67.5%)
CIE-LABlab(33.73, -11.03, 37.11)
CIE-LCHlch(33.73, 38.72, 106.55°)
OKLaboklab(42.49% -0.0343 0.081)
OKLCHoklch(42.49% 0.088 113)
XYZxyz(6.3906, 7.8780, 1.5647)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F530D #110D53
analogous
#53340D #4F530D #2C530D
triadic
#4F530D #0D4F53 #530D4F
tetradic
#4F530D #0D5334 #110D53 #530D2C
square
#4F530D #0D5334 #110D53 #530D2C
split-complementary
#4F530D #0D2C53 #340D53
monochromatic
#191A04 #1D1E05 #4F530D #818815 #B4BD1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F530D#FFFFFF#000000##FFFFFF
##4F530D1.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)
#5A4F00
Deuteranopia (green-blind)
#5A5013
Tritanopia (blue-blind)
#554D46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f530d;
/* rgb */ color: rgb(79, 83, 13);
/* oklch */ color: oklch(42.5% 0.088 113.0);
Tailwind
colors: {
  custom: {
    50: '#838353',
    500: '#4f530d',
    950: '#000000',
  },
}
SCSS
$custom: #4f530d;
$custom-light: #838353;
$custom-dark: #000000;
JSON
{
  "hex": "#4f530d",
  "rgb": {
    "r": 79,
    "g": 83,
    "b": 13
  },
  "hsl": {
    "h": 63.429,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.42491,
    "c": 0.088,
    "h": 113
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#4F530D
secondary
#332E8E
accent
#38F043
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F530D

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

Preview Lab → · Contrast checker → · Palette generator →

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