#4F680F#4F680F

#4F680F is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.0% C 0.114 H 125.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4F680F
RGBrgb(79, 104, 15)
HSLhsl(77, 75%, 23%)
HSVhsv(77, 86%, 41%)
CMYKcmyk(24%, 0%, 85.6%, 59.2%)
CIE-LABlab(40.57, -22.35, 42.61)
CIE-LCHlch(40.57, 48.11, 117.68°)
OKLaboklab(48.01% -0.0652 0.0931)
OKLCHoklch(48.01% 0.114 125)
XYZxyz(8.2611, 11.5973, 2.2551)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F680F #280F68
analogous
#68540F #4F680F #22680F
triadic
#4F680F #0F4F68 #680F4F
tetradic
#4F680F #0F6854 #280F68 #680F22
square
#4F680F #0F6854 #280F68 #680F22
split-complementary
#4F680F #0F2268 #540F68
monochromatic
#141B04 #263307 #4F680F #789D17 #A0D31E

Accessibility & contrast

On white

6.33
#4F680F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4F680F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F680F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F680F#FFFFFF#000000##FFFFFF
##4F680F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6100
Deuteranopia (green-blind)
#6B5F19
Tritanopia (blue-blind)
#536258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f680f;
/* rgb */ color: rgb(79, 104, 15);
/* oklch */ color: oklch(48.0% 0.114 125.0);
Tailwind
colors: {
  custom: {
    50: '#849357',
    500: '#4f680f',
    950: '#000000',
  },
}
SCSS
$custom: #4f680f;
$custom-light: #849357;
$custom-dark: #000000;
JSON
{
  "hex": "#4f680f",
  "rgb": {
    "r": 79,
    "g": 104,
    "b": 15
  },
  "hsl": {
    "h": 76.854,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.4801,
    "c": 0.11367,
    "h": 125
  },
  "luminance": 0.11597
}

Semantic roles & 50–950 ramp

primary
#4F680F
secondary
#5132A1
accent
#36F16B
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D03
muted
#7C7E78

Preview Lab

Preview with #4F680F

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

Preview Lab → · Contrast checker → · Palette generator →

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