#4F5B11#4F5B11

#4F5B11 is a dark, moderate yellow. Relative luminance 0.092; OKLCH L 44.6% C 0.096 H 118.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#4F5B11
RGBrgb(79, 91, 17)
HSLhsl(70, 69%, 21%)
HSVhsv(70, 81%, 36%)
CMYKcmyk(13.2%, 0%, 81.3%, 64.3%)
CIE-LABlab(36.34, -15.35, 38.08)
CIE-LCHlch(36.34, 41.06, 111.95°)
OKLaboklab(44.6% -0.0459 0.0839)
OKLCHoklch(44.6% 0.096 118.7)
XYZxyz(7.0669, 9.1850, 1.9308)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5B11 #1D115B
analogous
#5B4211 #4F5B11 #2A5B11
triadic
#4F5B11 #114F5B #5B114F
tetradic
#4F5B11 #115B42 #1D115B #5B112A
square
#4F5B11 #115B42 #1D115B #5B112A
split-complementary
#4F5B11 #112A5B #42115B
monochromatic
#161A05 #222707 #4F5B11 #7C8F1B #A9C224

Accessibility & contrast

On white

7.40
#4F5B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4F5B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5B11
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5B11#FFFFFF#000000##FFFFFF
##4F5B111.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625502
Deuteranopia (green-blind)
#605618
Tritanopia (blue-blind)
#54564D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f5b11;
/* rgb */ color: rgb(79, 91, 17);
/* oklch */ color: oklch(44.6% 0.096 118.7);
Tailwind
colors: {
  custom: {
    50: '#838956',
    500: '#4f5b11',
    950: '#000000',
  },
}
SCSS
$custom: #4f5b11;
$custom-light: #838956;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5b11",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 17
  },
  "hsl": {
    "h": 69.73,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.44595,
    "c": 0.09562,
    "h": 118.7
  },
  "luminance": 0.09185
}

Semantic roles & 50–950 ramp

primary
#4F5B11
secondary
#443494
accent
#3CEB59
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5B11

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

Preview Lab → · Contrast checker → · Palette generator →

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