#768B2D#768B2D

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

Color values

HEX#768B2D
RGBrgb(118, 139, 45)
HSLhsl(73, 51%, 36%)
HSVhsv(73, 68%, 55%)
CMYKcmyk(15.1%, 0%, 67.6%, 45.5%)
CIE-LABlab(54.56, -21.45, 45.88)
CIE-LCHlch(54.56, 50.65, 115.05°)
OKLaboklab(60.09% -0.0625 0.104)
OKLCHoklch(60.09% 0.121 121)
XYZxyz(17.1777, 22.5063, 5.9213)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768B2D #422D8B
analogous
#8B712D #768B2D #478B2D
triadic
#768B2D #2D768B #8B2D76
tetradic
#768B2D #2D8B71 #422D8B #8B2D47
square
#768B2D #2D8B71 #422D8B #8B2D47
split-complementary
#768B2D #2D478B #712D8B
monochromatic
#282F0F #4F5D1E #768B2D #9DB93C #B6CD65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768B2D#FFFFFF#000000##000000
##768B2D1.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)
#948320
Deuteranopia (green-blind)
#918334
Tritanopia (blue-blind)
#7C8478
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768b2d;
/* rgb */ color: rgb(118, 139, 45);
/* oklch */ color: oklch(60.1% 0.121 121.0);
Tailwind
colors: {
  custom: {
    50: '#a0ac6b',
    500: '#768b2d',
    950: '#000000',
  },
}
SCSS
$custom: #768b2d;
$custom-light: #a0ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#768b2d",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 73.404,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60093,
    "c": 0.12136,
    "h": 121
  },
  "luminance": 0.22506
}

Semantic roles & 50–950 ramp

primary
#768B2D
secondary
#7360B4
accent
#4DDB6D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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