#768D17#768D17

#768D17 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.4% C 0.137 H 120.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#768D17
RGBrgb(118, 141, 23)
HSLhsl(72, 72%, 32%)
HSVhsv(72, 84%, 55%)
CMYKcmyk(16.3%, 0%, 83.7%, 44.7%)
CIE-LABlab(55.03, -23.64, 54.16)
CIE-LCHlch(55.03, 59.09, 113.58°)
OKLaboklab(60.43% -0.0704 0.1177)
OKLCHoklch(60.43% 0.137 120.9)
XYZxyz(17.1511, 22.9632, 4.3392)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D17 #2E178D
analogous
#8D6917 #768D17 #3B8D17
triadic
#768D17 #17768D #8D1776
tetradic
#768D17 #178D69 #2E178D #8D173B
square
#768D17 #178D69 #2E178D #8D173B
split-complementary
#768D17 #173B8D #69178D
monochromatic
#1E2406 #4A580E #768D17 #A2C220 #C0E03F

Accessibility & contrast

On white

3.75
#768D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#768D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768D17
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768D17#FFFFFF#000000##000000
##768D171.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#938424
Tritanopia (blue-blind)
#7D8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768d17;
/* rgb */ color: rgb(118, 141, 23);
/* oklch */ color: oklch(60.4% 0.137 120.9);
Tailwind
colors: {
  custom: {
    50: '#a1ae61',
    500: '#768d17',
    950: '#000000',
  },
}
SCSS
$custom: #768d17;
$custom-light: #a1ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#768d17",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 71.695,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60433,
    "c": 0.1372,
    "h": 120.9
  },
  "luminance": 0.22963
}

Semantic roles & 50–950 ramp

primary
#768D17
secondary
#5940C0
accent
#39EF5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768D17

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

Preview Lab → · Contrast checker → · Palette generator →

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