#768C22#768C22

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

Color values

HEX#768C22
RGBrgb(118, 140, 34)
HSLhsl(72, 61%, 34%)
HSVhsv(72, 76%, 55%)
CMYKcmyk(15.7%, 0%, 75.7%, 45.1%)
CIE-LABlab(54.79, -22.64, 50.44)
CIE-LCHlch(54.79, 55.29, 114.17°)
OKLaboklab(60.25% -0.0668 0.1118)
OKLCHoklch(60.25% 0.13 120.9)
XYZxyz(17.1383, 22.7232, 4.9962)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C22 #38228C
analogous
#8C6D22 #768C22 #418C22
triadic
#768C22 #22768C #8C2276
tetradic
#768C22 #228C6D #38228C #8C2241
square
#768C22 #228C6D #38228C #8C2241
split-complementary
#768C22 #22418C #6D228C
monochromatic
#232A0A #4C5B16 #768C22 #A0BD2E #BAD553

Accessibility & contrast

On white

3.79
#768C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#768C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768C22
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768C22#FFFFFF#000000##000000
##768C221.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830B
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#7D8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c22;
/* rgb */ color: rgb(118, 140, 34);
/* oklch */ color: oklch(60.3% 0.130 120.9);
Tailwind
colors: {
  custom: {
    50: '#a1ad65',
    500: '#768c22',
    950: '#000000',
  },
}
SCSS
$custom: #768c22;
$custom-light: #a1ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#768c22",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 72.453,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.6025,
    "c": 0.13025,
    "h": 120.9
  },
  "luminance": 0.22723
}

Semantic roles & 50–950 ramp

primary
#768C22
secondary
#6651B9
accent
#44E465
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768C22

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

Preview Lab → · Contrast checker → · Palette generator →

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