#768B2F#768B2F

#768B2F is a mid, moderate yellow-green. Relative luminance 0.225; OKLCH L 60.1% C 0.120 H 121.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#768B2F
RGBrgb(118, 139, 47)
HSLhsl(74, 49%, 36%)
HSVhsv(74, 66%, 55%)
CMYKcmyk(15.1%, 0%, 66.2%, 45.5%)
CIE-LABlab(54.58, -21.30, 45.04)
CIE-LCHlch(54.58, 49.82, 115.31°)
OKLaboklab(60.11% -0.0619 0.1026)
OKLCHoklch(60.11% 0.12 121.1)
XYZxyz(17.2171, 22.5220, 6.1289)
Luminance0.2252 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768B2F #442F8B
analogous
#8B722F #768B2F #488B2F
triadic
#768B2F #2F768B #8B2F76
tetradic
#768B2F #2F8B72 #442F8B #8B2F48
square
#768B2F #2F8B72 #442F8B #8B2F48
split-complementary
#768B2F #2F488B #722F8B
monochromatic
#283010 #4F5D20 #768B2F #9DB93E #B5CC68

Accessibility & contrast

On white

3.82
#768B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#768B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768B2F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768B2F#FFFFFF#000000##000000
##768B2F1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938323
Deuteranopia (green-blind)
#918336
Tritanopia (blue-blind)
#7C8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768b2f;
/* rgb */ color: rgb(118, 139, 47);
/* oklch */ color: oklch(60.1% 0.120 121.1);
Tailwind
colors: {
  custom: {
    50: '#a0ac6c',
    500: '#768b2f',
    950: '#000000',
  },
}
SCSS
$custom: #768b2f;
$custom-light: #a0ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#768b2f",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 73.696,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60111,
    "c": 0.11978,
    "h": 121.1
  },
  "luminance": 0.22522
}

Semantic roles & 50–950 ramp

primary
#768B2F
secondary
#7563B3
accent
#4FD96E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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