#4F7513#4F7513

#4F7513 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.5% C 0.129 H 129.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4F7513
RGBrgb(79, 117, 19)
HSLhsl(83, 72%, 27%)
HSVhsv(83, 84%, 46%)
CMYKcmyk(32.5%, 0%, 83.8%, 54.1%)
CIE-LABlab(44.85, -28.58, 45.25)
CIE-LCHlch(44.85, 53.52, 122.28°)
OKLaboklab(51.49% -0.0818 0.0994)
OKLCHoklch(51.49% 0.129 129.5)
XYZxyz(9.7033, 14.4316, 2.8903)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7513 #391375
analogous
#756A13 #4F7513 #1E7513
triadic
#4F7513 #134F75 #75134F
tetradic
#4F7513 #13756A #391375 #75131E
square
#4F7513 #13756A #391375 #75131E
split-complementary
#4F7513 #131E75 #6A1375
monochromatic
#121A04 #2B400A #4F7513 #73AA1C #96DC27

Accessibility & contrast

On white

5.40
#4F7513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4F7513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7513
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7513#FFFFFF#000000##FFFFFF
##4F75131.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#76691E
Tritanopia (blue-blind)
#526F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f7513;
/* rgb */ color: rgb(79, 117, 19);
/* oklch */ color: oklch(51.5% 0.129 129.5);
Tailwind
colors: {
  custom: {
    50: '#849d5b',
    500: '#4f7513',
    950: '#000000',
  },
}
SCSS
$custom: #4f7513;
$custom-light: #849d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7513",
  "rgb": {
    "r": 79,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 83.265,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51492,
    "c": 0.12871,
    "h": 129.5
  },
  "luminance": 0.14432
}

Semantic roles & 50–950 ramp

primary
#4F7513
secondary
#6538AB
accent
#39EF7F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7513

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

Preview Lab → · Contrast checker → · Palette generator →

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