#768A26#768A26

#768A26 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.8% C 0.125 H 120.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#768A26
RGBrgb(118, 138, 38)
HSLhsl(72, 57%, 35%)
HSVhsv(72, 72%, 54%)
CMYKcmyk(14.5%, 0%, 72.5%, 45.9%)
CIE-LABlab(54.21, -21.40, 48.38)
CIE-LCHlch(54.21, 52.90, 113.86°)
OKLaboklab(59.79% -0.063 0.1082)
OKLCHoklch(59.79% 0.125 120.2)
XYZxyz(16.9098, 22.1685, 5.2215)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A26 #3A268A
analogous
#8A6C26 #768A26 #448A26
triadic
#768A26 #26768A #8A2676
tetradic
#768A26 #268A6C #3A268A #8A2644
square
#768A26 #268A6C #3A268A #8A2644
split-complementary
#768A26 #26448A #6C268A
monochromatic
#242A0C #4D5A19 #768A26 #9FBA33 #B9D159

Accessibility & contrast

On white

3.86
#768A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#768A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768A26
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768A26#FFFFFF#000000##000000
##768A261.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938215
Deuteranopia (green-blind)
#90822E
Tritanopia (blue-blind)
#7D8376
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768a26;
/* rgb */ color: rgb(118, 138, 38);
/* oklch */ color: oklch(59.8% 0.125 120.2);
Tailwind
colors: {
  custom: {
    50: '#a0ac67',
    500: '#768a26',
    950: '#000000',
  },
}
SCSS
$custom: #768a26;
$custom-light: #a0ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#768a26",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 72,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5979,
    "c": 0.12519,
    "h": 120.2
  },
  "luminance": 0.22168
}

Semantic roles & 50–950 ramp

primary
#768A26
secondary
#6956B6
accent
#48E066
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768A26

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

Preview Lab → · Contrast checker → · Palette generator →

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