#768F3A#768F3A

#768F3A is a mid, moderate yellow-green. Relative luminance 0.238; OKLCH L 61.2% C 0.116 H 123.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#768F3A
RGBrgb(118, 143, 58)
HSLhsl(78, 42%, 39%)
HSVhsv(78, 59%, 56%)
CMYKcmyk(17.5%, 0%, 59.4%, 43.9%)
CIE-LABlab(55.89, -22.43, 41.44)
CIE-LCHlch(55.89, 47.12, 118.43°)
OKLaboklab(61.2% -0.0639 0.0964)
OKLCHoklch(61.2% 0.116 123.6)
XYZxyz(18.0575, 23.8019, 7.6451)
Luminance0.2380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F3A #533A8F
analogous
#8F7E3A #768F3A #4C8F3A
triadic
#768F3A #3A768F #8F3A76
tetradic
#768F3A #3A8F7E #533A8F #8F3A4C
square
#768F3A #3A8F7E #533A8F #8F3A4C
split-complementary
#768F3A #3A4C8F #7E3A8F
monochromatic
#2E3817 #526328 #768F3A #99B74F #B2C97A

Accessibility & contrast

On white

3.65
#768F3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#768F3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768F3A
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768F3A#FFFFFF#000000##000000
##768F3A1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978731
Deuteranopia (green-blind)
#938640
Tritanopia (blue-blind)
#7B887D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #768f3a;
/* rgb */ color: rgb(118, 143, 58);
/* oklch */ color: oklch(61.2% 0.116 123.6);
Tailwind
colors: {
  custom: {
    50: '#a0af73',
    500: '#768f3a',
    950: '#000000',
  },
}
SCSS
$custom: #768f3a;
$custom-light: #a0af73;
$custom-dark: #000000;
JSON
{
  "hex": "#768f3a",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 58
  },
  "hsl": {
    "h": 77.647,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61201,
    "c": 0.11563,
    "h": 123.6
  },
  "luminance": 0.23802
}

Semantic roles & 50–950 ramp

primary
#768F3A
secondary
#8572B3
accent
#56D27A
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #768F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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