#768B22#768B22

#768B22 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 60.0% C 0.129 H 120.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#768B22
RGBrgb(118, 139, 34)
HSLhsl(72, 61%, 34%)
HSVhsv(72, 76%, 55%)
CMYKcmyk(15.1%, 0%, 75.5%, 45.5%)
CIE-LABlab(54.48, -22.13, 50.15)
CIE-LCHlch(54.48, 54.82, 113.81°)
OKLaboklab(60.01% -0.0654 0.1112)
OKLCHoklch(60.01% 0.129 120.5)
XYZxyz(16.9929, 22.4323, 4.9477)
Luminance0.2243 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768B22 #37228B
analogous
#8B6C22 #768B22 #428B22
triadic
#768B22 #22768B #8B2276
tetradic
#768B22 #228B6C #37228B #8B2242
square
#768B22 #228B6C #37228B #8B2242
split-complementary
#768B22 #22428B #6C228B
monochromatic
#23290A #4C5A16 #768B22 #A0BC2E #BBD553

Accessibility & contrast

On white

3.83
#768B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#768B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768B22
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768B22#FFFFFF#000000##000000
##768B221.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830C
Deuteranopia (green-blind)
#91832B
Tritanopia (blue-blind)
#7D8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768b22;
/* rgb */ color: rgb(118, 139, 34);
/* oklch */ color: oklch(60.0% 0.129 120.5);
Tailwind
colors: {
  custom: {
    50: '#a1ac65',
    500: '#768b22',
    950: '#000000',
  },
}
SCSS
$custom: #768b22;
$custom-light: #a1ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#768b22",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 72,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60006,
    "c": 0.12901,
    "h": 120.5
  },
  "luminance": 0.22432
}

Semantic roles & 50–950 ramp

primary
#768B22
secondary
#6550B8
accent
#44E464
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768B22

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

Preview Lab → · Contrast checker → · Palette generator →

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