#768917#768917

#768917 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.5% C 0.132 H 119.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#768917
RGBrgb(118, 137, 23)
HSLhsl(70, 71%, 31%)
HSVhsv(70, 83%, 54%)
CMYKcmyk(13.9%, 0%, 83.2%, 46.3%)
CIE-LABlab(53.82, -21.62, 53.09)
CIE-LCHlch(53.82, 57.32, 112.15°)
OKLaboklab(59.45% -0.0649 0.1155)
OKLCHoklch(59.45% 0.132 119.3)
XYZxyz(16.5719, 21.8048, 4.1462)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768917 #2A1789
analogous
#896317 #768917 #3D8917
triadic
#768917 #177689 #891776
tetradic
#768917 #178963 #2A1789 #89173D
square
#768917 #178963 #2A1789 #89173D
split-complementary
#768917 #173D89 #631789
monochromatic
#1C2005 #49550E #768917 #A3BD20 #C3DE3C

Accessibility & contrast

On white

3.92
#768917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#768917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768917
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768917#FFFFFF#000000##000000
##7689171.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#908123
Tritanopia (blue-blind)
#7D8175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #768917;
/* rgb */ color: rgb(118, 137, 23);
/* oklch */ color: oklch(59.5% 0.132 119.3);
Tailwind
colors: {
  custom: {
    50: '#a1ab60',
    500: '#768917',
    950: '#000000',
  },
}
SCSS
$custom: #768917;
$custom-light: #a1ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#768917",
  "rgb": {
    "r": 118,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 70,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59453,
    "c": 0.13245,
    "h": 119.3
  },
  "luminance": 0.21805
}

Semantic roles & 50–950 ramp

primary
#768917
secondary
#543FBD
accent
#3AEE58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768917

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

Preview Lab → · Contrast checker → · Palette generator →

#768917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva