#4F530C#4F530C

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

Color values

HEX#4F530C
RGBrgb(79, 83, 12)
HSLhsl(63, 75%, 19%)
HSVhsv(63, 86%, 33%)
CMYKcmyk(4.8%, 0%, 85.5%, 67.5%)
CIE-LABlab(33.72, -11.07, 37.45)
CIE-LCHlch(33.72, 39.05, 106.47°)
OKLaboklab(42.49% -0.0346 0.0815)
OKLCHoklch(42.49% 0.089 113)
XYZxyz(6.3843, 7.8755, 1.5316)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F530C #100C53
analogous
#53330C #4F530C #2B530C
triadic
#4F530C #0C4F53 #530C4F
tetradic
#4F530C #0C5333 #100C53 #530C2B
square
#4F530C #0C5333 #100C53 #530C2B
split-complementary
#4F530C #0C2B53 #330C53
monochromatic
#191B04 #1C1E04 #4F530C #828814 #B5BE1B

Accessibility & contrast

On white

8.16
#4F530C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F530C
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F530C#FFFFFF#000000##FFFFFF
##4F530C1.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.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: #4f530c;
/* rgb */ color: rgb(79, 83, 12);
/* oklch */ color: oklch(42.5% 0.089 113.0);
Tailwind
colors: {
  custom: {
    50: '#838352',
    500: '#4f530c',
    950: '#000000',
  },
}
SCSS
$custom: #4f530c;
$custom-light: #838352;
$custom-dark: #000000;
JSON
{
  "hex": "#4f530c",
  "rgb": {
    "r": 79,
    "g": 83,
    "b": 12
  },
  "hsl": {
    "h": 63.38,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.42485,
    "c": 0.08855,
    "h": 113
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#4F530C
secondary
#322D8E
accent
#36F141
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F530C

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

Preview Lab → · Contrast checker → · Palette generator →

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