#768C2D#768C2D

#768C2D is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.3% C 0.123 H 121.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#768C2D
RGBrgb(118, 140, 45)
HSLhsl(74, 51%, 36%)
HSVhsv(74, 68%, 55%)
CMYKcmyk(15.7%, 0%, 67.9%, 45.1%)
CIE-LABlab(54.86, -21.96, 46.20)
CIE-LCHlch(54.86, 51.15, 115.42°)
OKLaboklab(60.34% -0.0639 0.1047)
OKLCHoklch(60.34% 0.123 121.4)
XYZxyz(17.3232, 22.7972, 5.9698)
Luminance0.2280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C2D #432D8C
analogous
#8C732D #768C2D #478C2D
triadic
#768C2D #2D768C #8C2D76
tetradic
#768C2D #2D8C73 #432D8C #8C2D47
square
#768C2D #2D8C73 #432D8C #8C2D47
split-complementary
#768C2D #2D478C #732D8C
monochromatic
#282F0F #4F5E1E #768C2D #9DBA3C #B6CE66

Accessibility & contrast

On white

3.78
#768C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#768C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768C2D
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768C2D#FFFFFF#000000##000000
##768C2D1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948420
Deuteranopia (green-blind)
#928334
Tritanopia (blue-blind)
#7C8579
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c2d;
/* rgb */ color: rgb(118, 140, 45);
/* oklch */ color: oklch(60.3% 0.123 121.4);
Tailwind
colors: {
  custom: {
    50: '#a0ad6b',
    500: '#768c2d',
    950: '#000000',
  },
}
SCSS
$custom: #768c2d;
$custom-light: #a0ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#768c2d",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 73.895,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60337,
    "c": 0.12266,
    "h": 121.4
  },
  "luminance": 0.22797
}

Semantic roles & 50–950 ramp

primary
#768C2D
secondary
#7460B4
accent
#4DDB6E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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