#4F642A#4F642A

#4F642A is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 47.2% C 0.087 H 126.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4F642A
RGBrgb(79, 100, 42)
HSLhsl(82, 41%, 28%)
HSVhsv(82, 58%, 39%)
CMYKcmyk(21%, 0%, 58%, 60.8%)
CIE-LABlab(39.49, -18.23, 29.90)
CIE-LCHlch(39.49, 35.02, 121.37°)
OKLaboklab(47.2% -0.0513 0.0704)
OKLCHoklch(47.2% 0.087 126.1)
XYZxyz(8.1995, 10.9437, 3.8704)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F642A #3F2A64
analogous
#645C2A #4F642A #32642A
triadic
#4F642A #2A4F64 #642A4F
tetradic
#4F642A #2A645C #3F2A64 #642A32
square
#4F642A #2A645C #3F2A64 #642A32
split-complementary
#4F642A #2A3264 #5C2A64
monochromatic
#111609 #2D3918 #4F642A #718F3C #92B652

Accessibility & contrast

On white

6.59
#4F642A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4F642A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F642A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F642A#FFFFFF#000000##FFFFFF
##4F642A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E24
Deuteranopia (green-blind)
#665D2E
Tritanopia (blue-blind)
#526057
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f642a;
/* rgb */ color: rgb(79, 100, 42);
/* oklch */ color: oklch(47.2% 0.087 126.1);
Tailwind
colors: {
  custom: {
    50: '#829065',
    500: '#4f642a',
    950: '#000000',
  },
}
SCSS
$custom: #4f642a;
$custom-light: #829065;
$custom-dark: #000000;
JSON
{
  "hex": "#4f642a",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 42
  },
  "hsl": {
    "h": 81.724,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47204,
    "c": 0.08712,
    "h": 126.1
  },
  "luminance": 0.10944
}

Semantic roles & 50–950 ramp

primary
#4F642A
secondary
#6C5396
accent
#57D183
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0C06
muted
#7C7D7A

Preview Lab

Preview with #4F642A

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

Preview Lab → · Contrast checker → · Palette generator →

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