#768C26#768C26

#768C26 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.3% C 0.128 H 121.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#768C26
RGBrgb(118, 140, 38)
HSLhsl(73, 57%, 35%)
HSVhsv(73, 73%, 55%)
CMYKcmyk(15.7%, 0%, 72.9%, 45.1%)
CIE-LABlab(54.81, -22.41, 48.98)
CIE-LCHlch(54.81, 53.87, 114.59°)
OKLaboklab(60.28% -0.0658 0.1094)
OKLCHoklch(60.28% 0.128 121)
XYZxyz(17.1994, 22.7477, 5.3180)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C26 #3C268C
analogous
#8C6F26 #768C26 #438C26
triadic
#768C26 #26768C #8C2676
tetradic
#768C26 #268C6F #3C268C #8C2643
square
#768C26 #268C6F #3C268C #8C2643
split-complementary
#768C26 #26438C #6F268C
monochromatic
#252C0C #4D5C19 #768C26 #9FBC33 #B8D25A

Accessibility & contrast

On white

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

On black

5.55
#768C26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768C26
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768C26#FFFFFF#000000##000000
##768C261.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958414
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#7D8578
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c26;
/* rgb */ color: rgb(118, 140, 38);
/* oklch */ color: oklch(60.3% 0.128 121.0);
Tailwind
colors: {
  custom: {
    50: '#a0ad68',
    500: '#768c26',
    950: '#000000',
  },
}
SCSS
$custom: #768c26;
$custom-light: #a0ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#768c26",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 38
  },
  "hsl": {
    "h": 72.941,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60279,
    "c": 0.1277,
    "h": 121
  },
  "luminance": 0.22748
}

Semantic roles & 50–950 ramp

primary
#768C26
secondary
#6C57B7
accent
#47E168
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768C26

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

Preview Lab → · Contrast checker → · Palette generator →

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