#768F3D#768F3D

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

Color values

HEX#768F3D
RGBrgb(118, 143, 61)
HSLhsl(78, 40%, 40%)
HSVhsv(78, 57%, 56%)
CMYKcmyk(17.5%, 0%, 57.3%, 43.9%)
CIE-LABlab(55.92, -22.15, 40.03)
CIE-LCHlch(55.92, 45.75, 118.96°)
OKLaboklab(61.24% -0.0628 0.0937)
OKLCHoklch(61.24% 0.113 123.9)
XYZxyz(18.1361, 23.8333, 8.0588)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F3D #563D8F
analogous
#8F7F3D #768F3D #4D8F3D
triadic
#768F3D #3D768F #8F3D76
tetradic
#768F3D #3D8F7F #563D8F #8F3D4D
square
#768F3D #3D8F7F #563D8F #8F3D4D
split-complementary
#768F3D #3D4D8F #7F3D8F
monochromatic
#2F3918 #53642B #768F3D #98B653 #B2C87E

Accessibility & contrast

On white

3.64
#768F3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#768F3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768F3D
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768F3D#FFFFFF#000000##000000
##768F3D1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968735
Deuteranopia (green-blind)
#938642
Tritanopia (blue-blind)
#7B897D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #768f3d;
/* rgb */ color: rgb(118, 143, 61);
/* oklch */ color: oklch(61.2% 0.113 123.9);
Tailwind
colors: {
  custom: {
    50: '#9faf75',
    500: '#768f3d',
    950: '#000000',
  },
}
SCSS
$custom: #768f3d;
$custom-light: #9faf75;
$custom-dark: #000000;
JSON
{
  "hex": "#768f3d",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 61
  },
  "hsl": {
    "h": 78.293,
    "s": 40.196,
    "l": 40
  },
  "oklch": {
    "l": 0.61237,
    "c": 0.1128,
    "h": 123.9
  },
  "luminance": 0.23833
}

Semantic roles & 50–950 ramp

primary
#768F3D
secondary
#8876B2
accent
#58D07C
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #768F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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