#768C2F#768C2F

#768C2F is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.4% C 0.121 H 121.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#768C2F
RGBrgb(118, 140, 47)
HSLhsl(74, 50%, 37%)
HSVhsv(74, 66%, 55%)
CMYKcmyk(15.7%, 0%, 66.4%, 45.1%)
CIE-LABlab(54.88, -21.81, 45.36)
CIE-LCHlch(54.88, 50.33, 115.68°)
OKLaboklab(60.36% -0.0633 0.1032)
OKLCHoklch(60.36% 0.121 121.5)
XYZxyz(17.3626, 22.8130, 6.1774)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C2F #452F8C
analogous
#8C742F #768C2F #478C2F
triadic
#768C2F #2F768C #8C2F76
tetradic
#768C2F #2F8C74 #452F8C #8C2F47
square
#768C2F #2F8C74 #452F8C #8C2F47
split-complementary
#768C2F #2F478C #742F8C
monochromatic
#293010 #4F5E20 #768C2F #9DBA3E #B5CD69

Accessibility & contrast

On white

3.78
#768C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#768C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768C2F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768C2F#FFFFFF#000000##000000
##768C2F1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948423
Deuteranopia (green-blind)
#928336
Tritanopia (blue-blind)
#7C8579
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c2f;
/* rgb */ color: rgb(118, 140, 47);
/* oklch */ color: oklch(60.4% 0.121 121.5);
Tailwind
colors: {
  custom: {
    50: '#a0ad6c',
    500: '#768c2f',
    950: '#000000',
  },
}
SCSS
$custom: #768c2f;
$custom-light: #a0ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#768c2f",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 74.194,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60355,
    "c": 0.12108,
    "h": 121.5
  },
  "luminance": 0.22813
}

Semantic roles & 50–950 ramp

primary
#768C2F
secondary
#7663B4
accent
#4FD96F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768C2F

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

Preview Lab → · Contrast checker → · Palette generator →

#768C2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva