#4F6331#4F6331

#4F6331 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 47.0% C 0.078 H 127.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4F6331
RGBrgb(79, 99, 49)
HSLhsl(84, 34%, 29%)
HSVhsv(84, 51%, 39%)
CMYKcmyk(20.2%, 0%, 50.5%, 61.2%)
CIE-LABlab(39.25, -16.87, 25.83)
CIE-LCHlch(39.25, 30.85, 123.15°)
OKLaboklab(47.05% -0.0469 0.0621)
OKLCHoklch(47.05% 0.078 127.1)
XYZxyz(8.2406, 10.8076, 4.5571)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6331 #453163
analogous
#635E31 #4F6331 #366331
triadic
#4F6331 #314F63 #63314F
tetradic
#4F6331 #31635E #453163 #633136
square
#4F6331 #31635E #453163 #633136
split-complementary
#4F6331 #313663 #5E3163
monochromatic
#10140A #2E3A1D #4F6331 #708C45 #8FB05F

Accessibility & contrast

On white

6.64
#4F6331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4F6331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6331
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6331#FFFFFF#000000##FFFFFF
##4F63311.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675D2D
Deuteranopia (green-blind)
#655C34
Tritanopia (blue-blind)
#515F57
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f6331;
/* rgb */ color: rgb(79, 99, 49);
/* oklch */ color: oklch(47.0% 0.078 127.1);
Tailwind
colors: {
  custom: {
    50: '#818f6a',
    500: '#4f6331',
    950: '#000000',
  },
}
SCSS
$custom: #4f6331;
$custom-light: #818f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6331",
  "rgb": {
    "r": 79,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 84,
    "s": 33.784,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47048,
    "c": 0.0778,
    "h": 127.1
  },
  "luminance": 0.10808
}

Semantic roles & 50–950 ramp

primary
#4F6331
secondary
#725C94
accent
#5ECA89
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0C06
muted
#7C7D7A

Preview Lab

Preview with #4F6331

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

Preview Lab → · Contrast checker → · Palette generator →

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