#4F5A13#4F5A13

#4F5A13 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.3% C 0.093 H 118.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4F5A13
RGBrgb(79, 90, 19)
HSLhsl(69, 65%, 21%)
HSVhsv(69, 79%, 35%)
CMYKcmyk(12.2%, 0%, 78.9%, 64.7%)
CIE-LABlab(36.03, -14.68, 37.03)
CIE-LCHlch(36.03, 39.83, 111.63°)
OKLaboklab(44.35% -0.0439 0.082)
OKLCHoklch(44.35% 0.093 118.2)
XYZxyz(6.9983, 9.0217, 1.9887)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5A13 #1E135A
analogous
#5A4213 #4F5A13 #2C5A13
triadic
#4F5A13 #134F5A #5A134F
tetradic
#4F5A13 #135A42 #1E135A #5A132C
square
#4F5A13 #135A42 #1E135A #5A132C
split-complementary
#4F5A13 #132C5A #42135A
monochromatic
#161905 #232708 #4F5A13 #7B8D1E #A8BF28

Accessibility & contrast

On white

7.49
#4F5A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4F5A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5A13
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5A13#FFFFFF#000000##FFFFFF
##4F5A131.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605505
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#54554C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f5a13;
/* rgb */ color: rgb(79, 90, 19);
/* oklch */ color: oklch(44.3% 0.093 118.2);
Tailwind
colors: {
  custom: {
    50: '#838857',
    500: '#4f5a13',
    950: '#000000',
  },
}
SCSS
$custom: #4f5a13;
$custom-light: #838857;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5a13",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 69.296,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.44348,
    "c": 0.09305,
    "h": 118.2
  },
  "luminance": 0.09022
}

Semantic roles & 50–950 ramp

primary
#4F5A13
secondary
#453792
accent
#40E85A
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5A13

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

Preview Lab → · Contrast checker → · Palette generator →

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