#768A4E#768A4E

#768A4E is a mid, moderate yellow-green. Relative luminance 0.226; OKLCH L 60.3% C 0.087 H 124.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#768A4E
RGBrgb(118, 138, 78)
HSLhsl(80, 28%, 42%)
HSVhsv(80, 43%, 54%)
CMYKcmyk(14.5%, 0%, 43.5%, 45.9%)
CIE-LABlab(54.64, -17.68, 29.72)
CIE-LCHlch(54.64, 34.58, 120.74°)
OKLaboklab(60.28% -0.0489 0.0723)
OKLCHoklch(60.28% 0.087 124.1)
XYZxyz(17.9348, 22.5785, 10.6195)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A4E #624E8A
analogous
#8A804E #768A4E #588A4E
triadic
#768A4E #4E768A #8A4E76
tetradic
#768A4E #4E8A80 #624E8A #8A4E58
square
#768A4E #4E8A80 #624E8A #8A4E58
split-complementary
#768A4E #4E588A #804E8A
monochromatic
#333C22 #556338 #768A4E #95AB6A #B1C191

Accessibility & contrast

On white

3.81
#768A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#768A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768A4E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768A4E#FFFFFF#000000##000000
##768A4E1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908349
Deuteranopia (green-blind)
#8D8351
Tritanopia (blue-blind)
#7A857B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768a4e;
/* rgb */ color: rgb(118, 138, 78);
/* oklch */ color: oklch(60.3% 0.087 124.1);
Tailwind
colors: {
  custom: {
    50: '#9eac80',
    500: '#768a4e',
    950: '#000000',
  },
}
SCSS
$custom: #768a4e;
$custom-light: #9eac80;
$custom-dark: #000000;
JSON
{
  "hex": "#768a4e",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 80,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.60275,
    "c": 0.08726,
    "h": 124.1
  },
  "luminance": 0.22579
}

Semantic roles & 50–950 ramp

primary
#768A4E
secondary
#9386AE
accent
#64C484
background
#F9FAF7
surface
#F2F4EE
border
#CCCEC9
text
#0E100A
muted
#7E7F7C

Preview Lab

Preview with #768A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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