#4F5214#4F5214

#4F5214 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.3% C 0.082 H 112.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4F5214
RGBrgb(79, 82, 20)
HSLhsl(63, 61%, 20%)
HSVhsv(63, 76%, 32%)
CMYKcmyk(3.7%, 0%, 75.6%, 67.8%)
CIE-LABlab(33.45, -10.07, 34.11)
CIE-LCHlch(33.45, 35.57, 106.46°)
OKLaboklab(42.28% -0.031 0.0761)
OKLCHoklch(42.28% 0.082 112.2)
XYZxyz(6.3682, 7.7475, 1.8216)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5214 #171452
analogous
#523614 #4F5214 #305214
triadic
#4F5214 #144F52 #52144F
tetradic
#4F5214 #145236 #171452 #521430
square
#4F5214 #145236 #171452 #521430
split-complementary
#4F5214 #143052 #361452
monochromatic
#181906 #202108 #4F5214 #7E8320 #AEB42C

Accessibility & contrast

On white

8.24
#4F5214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4F5214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5214
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5214#FFFFFF#000000##FFFFFF
##4F52141.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0A
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#554D46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f5214;
/* rgb */ color: rgb(79, 82, 20);
/* oklch */ color: oklch(42.3% 0.082 112.2);
Tailwind
colors: {
  custom: {
    50: '#838256',
    500: '#4f5214',
    950: '#000000',
  },
}
SCSS
$custom: #4f5214;
$custom-light: #838256;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5214",
  "rgb": {
    "r": 79,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 62.903,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.42284,
    "c": 0.08215,
    "h": 112.2
  },
  "luminance": 0.07747
}

Semantic roles & 50–950 ramp

primary
#4F5214
secondary
#3C388A
accent
#44E44C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #4F5214

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

Preview Lab → · Contrast checker → · Palette generator →

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