#4F7233#4F7233

#4F7233 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 51.0% C 0.100 H 132.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4F7233
RGBrgb(79, 114, 51)
HSLhsl(93, 38%, 32%)
HSVhsv(93, 55%, 45%)
CMYKcmyk(30.7%, 0%, 55.3%, 55.3%)
CIE-LABlab(44.14, -24.46, 30.65)
CIE-LCHlch(44.14, 39.21, 128.58°)
OKLaboklab(51.01% -0.0678 0.0729)
OKLCHoklch(51.01% 0.1 132.9)
XYZxyz(9.8391, 13.9356, 5.3028)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7233 #563372
analogous
#6F7233 #4F7233 #337236
triadic
#4F7233 #334F72 #72334F
tetradic
#4F7233 #336F72 #563372 #723633
square
#4F7233 #336F72 #563372 #723633
split-complementary
#4F7233 #363372 #72336F
monochromatic
#141D0D #324820 #4F7233 #6C9C46 #8BBA65

Accessibility & contrast

On white

5.54
#4F7233 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4F7233 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7233
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7233#FFFFFF#000000##FFFFFF
##4F72331.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A2D
Deuteranopia (green-blind)
#716737
Tritanopia (blue-blind)
#506E64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f7233;
/* rgb */ color: rgb(79, 114, 51);
/* oklch */ color: oklch(51.0% 0.100 132.9);
Tailwind
colors: {
  custom: {
    50: '#829a6c',
    500: '#4f7233',
    950: '#000000',
  },
}
SCSS
$custom: #4f7233;
$custom-light: #829a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7233",
  "rgb": {
    "r": 79,
    "g": 114,
    "b": 51
  },
  "hsl": {
    "h": 93.333,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.09955,
    "h": 132.9
  },
  "luminance": 0.13936
}

Semantic roles & 50–950 ramp

primary
#4F7233
secondary
#845FA2
accent
#5ACE9A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4F7233

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

Preview Lab → · Contrast checker → · Palette generator →

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