#4F5E0D#4F5E0D

#4F5E0D is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.4% C 0.102 H 120.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4F5E0D
RGBrgb(79, 94, 13)
HSLhsl(71, 76%, 21%)
HSVhsv(71, 86%, 37%)
CMYKcmyk(16%, 0%, 86.2%, 63.1%)
CIE-LABlab(37.29, -17.18, 40.30)
CIE-LCHlch(37.29, 43.81, 113.08°)
OKLaboklab(45.36% -0.0513 0.0878)
OKLCHoklch(45.36% 0.102 120.3)
XYZxyz(7.2999, 9.6968, 1.8678)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5E0D #1C0D5E
analogous
#5E440D #4F5E0D #265E0D
triadic
#4F5E0D #0D4F5E #5E0D4F
tetradic
#4F5E0D #0D5E44 #1C0D5E #5E0D26
square
#4F5E0D #0D5E44 #1C0D5E #5E0D26
split-complementary
#4F5E0D #0D265E #440D5E
monochromatic
#171B04 #222806 #4F5E0D #7C9414 #A9CA1C

Accessibility & contrast

On white

7.14
#4F5E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4F5E0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5E0D
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5E0D#FFFFFF#000000##FFFFFF
##4F5E0D1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#635816
Tritanopia (blue-blind)
#54584F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f5e0d;
/* rgb */ color: rgb(79, 94, 13);
/* oklch */ color: oklch(45.4% 0.102 120.3);
Tailwind
colors: {
  custom: {
    50: '#838b55',
    500: '#4f5e0d',
    950: '#000000',
  },
}
SCSS
$custom: #4f5e0d;
$custom-light: #838b55;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5e0d",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 13
  },
  "hsl": {
    "h": 71.111,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.10169,
    "h": 120.3
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#4F5E0D
secondary
#422F98
accent
#36F258
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4F5E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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