#768A2F#768A2F

#768A2F is a mid, moderate yellow-green. Relative luminance 0.222; OKLCH L 59.9% C 0.118 H 120.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#768A2F
RGBrgb(118, 138, 47)
HSLhsl(73, 49%, 36%)
HSVhsv(73, 66%, 54%)
CMYKcmyk(14.5%, 0%, 65.9%, 45.9%)
CIE-LABlab(54.27, -20.79, 44.71)
CIE-LCHlch(54.27, 49.31, 114.94°)
OKLaboklab(59.87% -0.0605 0.1019)
OKLCHoklch(59.87% 0.118 120.7)
XYZxyz(17.0730, 22.2338, 6.0809)
Luminance0.2223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A2F #432F8A
analogous
#8A712F #768A2F #498A2F
triadic
#768A2F #2F768A #8A2F76
tetradic
#768A2F #2F8A71 #432F8A #8A2F49
square
#768A2F #2F8A71 #432F8A #8A2F49
split-complementary
#768A2F #2F498A #712F8A
monochromatic
#282F10 #4F5C1F #768A2F #9DB83F #B6CC68

Accessibility & contrast

On white

3.86
#768A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#768A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768A2F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768A2F#FFFFFF#000000##000000
##768A2F1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928223
Deuteranopia (green-blind)
#908236
Tritanopia (blue-blind)
#7C8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768a2f;
/* rgb */ color: rgb(118, 138, 47);
/* oklch */ color: oklch(59.9% 0.118 120.7);
Tailwind
colors: {
  custom: {
    50: '#a0ac6c',
    500: '#768a2f',
    950: '#000000',
  },
}
SCSS
$custom: #768a2f;
$custom-light: #a0ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#768a2f",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 73.187,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59868,
    "c": 0.11846,
    "h": 120.7
  },
  "luminance": 0.22234
}

Semantic roles & 50–950 ramp

primary
#768A2F
secondary
#7462B3
accent
#4FD96D
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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