#768B2E#768B2E

#768B2E 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#768B2E
RGBrgb(118, 139, 46)
HSLhsl(74, 50%, 36%)
HSVhsv(74, 67%, 55%)
CMYKcmyk(15.1%, 0%, 66.9%, 45.5%)
CIE-LABlab(54.57, -21.38, 45.46)
CIE-LCHlch(54.57, 50.24, 115.18°)
OKLaboklab(60.1% -0.0622 0.1033)
OKLCHoklch(60.1% 0.121 121)
XYZxyz(17.1972, 22.5141, 6.0239)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768B2E #432E8B
analogous
#8B722E #768B2E #488B2E
triadic
#768B2E #2E768B #8B2E76
tetradic
#768B2E #2E8B72 #432E8B #8B2E48
square
#768B2E #2E8B72 #432E8B #8B2E48
split-complementary
#768B2E #2E488B #722E8B
monochromatic
#282F10 #4F5D1F #768B2E #9DB93D #B6CD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768B2E#FFFFFF#000000##000000
##768B2E1.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)
#938322
Deuteranopia (green-blind)
#918335
Tritanopia (blue-blind)
#7C8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768b2e;
/* rgb */ color: rgb(118, 139, 46);
/* oklch */ color: oklch(60.1% 0.121 121.0);
Tailwind
colors: {
  custom: {
    50: '#a0ac6c',
    500: '#768b2e',
    950: '#000000',
  },
}
SCSS
$custom: #768b2e;
$custom-light: #a0ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#768b2e",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 73.548,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60102,
    "c": 0.12058,
    "h": 121
  },
  "luminance": 0.22514
}

Semantic roles & 50–950 ramp

primary
#768B2E
secondary
#7461B3
accent
#4EDA6E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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