#4F5A11#4F5A11

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

Color values

HEX#4F5A11
RGBrgb(79, 90, 17)
HSLhsl(69, 68%, 21%)
HSVhsv(69, 81%, 35%)
CMYKcmyk(12.2%, 0%, 81.1%, 64.7%)
CIE-LABlab(36.01, -14.79, 37.78)
CIE-LCHlch(36.01, 40.57, 111.38°)
OKLaboklab(44.33% -0.0444 0.0832)
OKLCHoklch(44.33% 0.094 118.1)
XYZxyz(6.9820, 9.0151, 1.9025)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5A11 #1C115A
analogous
#5A4011 #4F5A11 #2A5A11
triadic
#4F5A11 #114F5A #5A114F
tetradic
#4F5A11 #115A40 #1C115A #5A112A
square
#4F5A11 #115A40 #1C115A #5A112A
split-complementary
#4F5A11 #112A5A #40115A
monochromatic
#171A05 #222707 #4F5A11 #7C8D1B #A9C124

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F5A11#FFFFFF#000000##FFFFFF
##4F5A111.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)
#615502
Deuteranopia (green-blind)
#5F5518
Tritanopia (blue-blind)
#54554C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f5a11;
/* rgb */ color: rgb(79, 90, 17);
/* oklch */ color: oklch(44.3% 0.094 118.1);
Tailwind
colors: {
  custom: {
    50: '#838856',
    500: '#4f5a11',
    950: '#000000',
  },
}
SCSS
$custom: #4f5a11;
$custom-light: #838856;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5a11",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 69.041,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44334,
    "c": 0.09433,
    "h": 118.1
  },
  "luminance": 0.09015
}

Semantic roles & 50–950 ramp

primary
#4F5A11
secondary
#423493
accent
#3DEB57
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5A11

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

Preview Lab → · Contrast checker → · Palette generator →

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