#4F8B29#4F8B29

#4F8B29 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.5% C 0.144 H 135.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4F8B29
RGBrgb(79, 139, 41)
HSLhsl(97, 54%, 35%)
HSVhsv(97, 71%, 55%)
CMYKcmyk(43.2%, 0%, 70.5%, 45.5%)
CIE-LABlab(52.16, -37.13, 44.33)
CIE-LCHlch(52.16, 57.82, 129.95°)
OKLaboklab(57.51% -0.1033 0.1009)
OKLCHoklch(57.51% 0.144 135.7)
XYZxyz(12.8570, 20.2869, 5.3357)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8B29 #65298B
analogous
#808B29 #4F8B29 #298B34
triadic
#4F8B29 #294F8B #8B294F
tetradic
#4F8B29 #29808B #65298B #8B3429
square
#4F8B29 #29808B #65298B #8B3429
split-complementary
#4F8B29 #34298B #8B2980
monochromatic
#192C0D #345C1B #4F8B29 #6ABA37 #8BD05F

Accessibility & contrast

On white

4.15
#4F8B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4F8B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8B29
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8B29#FFFFFF#000000##000000
##4F8B291.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801A
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#4D8677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8b29;
/* rgb */ color: rgb(79, 139, 41);
/* oklch */ color: oklch(57.5% 0.144 135.7);
Tailwind
colors: {
  custom: {
    50: '#85ad68',
    500: '#4f8b29',
    950: '#000000',
  },
}
SCSS
$custom: #4f8b29;
$custom-light: #85ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8b29",
  "rgb": {
    "r": 79,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 96.735,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57513,
    "c": 0.14441,
    "h": 135.7
  },
  "luminance": 0.20288
}

Semantic roles & 50–950 ramp

primary
#4F8B29
secondary
#925BB5
accent
#4ADEA4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8B29

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

Preview Lab → · Contrast checker → · Palette generator →

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