#768E22#768E22

#768E22 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.7% C 0.133 H 121.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#768E22
RGBrgb(118, 142, 34)
HSLhsl(73, 61%, 35%)
HSVhsv(73, 76%, 56%)
CMYKcmyk(16.9%, 0%, 76.1%, 44.3%)
CIE-LABlab(55.39, -23.64, 51.02)
CIE-LCHlch(55.39, 56.24, 114.86°)
OKLaboklab(60.74% -0.0696 0.113)
OKLCHoklch(60.74% 0.133 121.6)
XYZxyz(17.4332, 23.3130, 5.0945)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768E22 #3A228E
analogous
#8E7022 #768E22 #408E22
triadic
#768E22 #22768E #8E2276
tetradic
#768E22 #228E70 #3A228E #8E2240
square
#768E22 #228E70 #3A228E #8E2240
split-complementary
#768E22 #22408E #70228E
monochromatic
#242B0A #4D5D16 #768E22 #9FBF2E #B9D654

Accessibility & contrast

On white

3.71
#768E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#768E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768E22
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768E22#FFFFFF#000000##000000
##768E221.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850A
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#7D8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768e22;
/* rgb */ color: rgb(118, 142, 34);
/* oklch */ color: oklch(60.7% 0.133 121.6);
Tailwind
colors: {
  custom: {
    50: '#a1af66',
    500: '#768e22',
    950: '#000000',
  },
}
SCSS
$custom: #768e22;
$custom-light: #a1af66;
$custom-dark: #000000;
JSON
{
  "hex": "#768e22",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 73.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.13273,
    "h": 121.6
  },
  "luminance": 0.23313
}

Semantic roles & 50–950 ramp

primary
#768E22
secondary
#6952BA
accent
#43E467
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768E22

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

Preview Lab → · Contrast checker → · Palette generator →

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