#768A22#768A22

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

Color values

HEX#768A22
RGBrgb(118, 138, 34)
HSLhsl(72, 60%, 34%)
HSVhsv(72, 75%, 54%)
CMYKcmyk(14.5%, 0%, 75.4%, 45.9%)
CIE-LABlab(54.18, -21.62, 49.86)
CIE-LCHlch(54.18, 54.35, 113.44°)
OKLaboklab(59.76% -0.064 0.1106)
OKLCHoklch(59.76% 0.128 120.1)
XYZxyz(16.8487, 22.1441, 4.8997)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A22 #36228A
analogous
#8A6A22 #768A22 #428A22
triadic
#768A22 #22768A #8A2276
tetradic
#768A22 #228A6A #36228A #8A2242
square
#768A22 #228A6A #36228A #8A2242
split-complementary
#768A22 #22428A #6A228A
monochromatic
#22280A #4C5916 #768A22 #A0BB2E #BBD452

Accessibility & contrast

On white

3.87
#768A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##768A22#FFFFFF#000000##000000
##768A221.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820D
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#7D8276
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768a22;
/* rgb */ color: rgb(118, 138, 34);
/* oklch */ color: oklch(59.8% 0.128 120.1);
Tailwind
colors: {
  custom: {
    50: '#a1ac65',
    500: '#768a22',
    950: '#000000',
  },
}
SCSS
$custom: #768a22;
$custom-light: #a1ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#768a22",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 71.538,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59761,
    "c": 0.12778,
    "h": 120.1
  },
  "luminance": 0.22144
}

Semantic roles & 50–950 ramp

primary
#768A22
secondary
#6450B8
accent
#44E463
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768A22

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

Preview Lab → · Contrast checker → · Palette generator →

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