#768E17#768E17

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

Color values

HEX#768E17
RGBrgb(118, 142, 23)
HSLhsl(72, 72%, 32%)
HSVhsv(72, 84%, 56%)
CMYKcmyk(16.9%, 0%, 83.8%, 44.3%)
CIE-LABlab(55.34, -24.14, 54.42)
CIE-LCHlch(55.34, 59.54, 113.92°)
OKLaboklab(60.68% -0.0718 0.1183)
OKLCHoklch(60.68% 0.138 121.2)
XYZxyz(17.2992, 23.2594, 4.3886)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768E17 #2F178E
analogous
#8E6B17 #768E17 #3A8E17
triadic
#768E17 #17768E #8E1776
tetradic
#768E17 #178E6B #2F178E #8E173A
square
#768E17 #178E6B #2F178E #8E173A
split-complementary
#768E17 #173A8E #6B178E
monochromatic
#1E2506 #4A590E #768E17 #A2C320 #C0E03F

Accessibility & contrast

On white

3.72
#768E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#768E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768E17
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768E17#FFFFFF#000000##000000
##768E171.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#948524
Tritanopia (blue-blind)
#7D8679
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768e17;
/* rgb */ color: rgb(118, 142, 23);
/* oklch */ color: oklch(60.7% 0.138 121.2);
Tailwind
colors: {
  custom: {
    50: '#a1af61',
    500: '#768e17',
    950: '#000000',
  },
}
SCSS
$custom: #768e17;
$custom-light: #a1af61;
$custom-dark: #000000;
JSON
{
  "hex": "#768e17",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 72.101,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60678,
    "c": 0.13839,
    "h": 121.2
  },
  "luminance": 0.23259
}

Semantic roles & 50–950 ramp

primary
#768E17
secondary
#5A40C0
accent
#39EF5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768E17

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

Preview Lab → · Contrast checker → · Palette generator →

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