#768D16#768D16

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

Color values

HEX#768D16
RGBrgb(118, 141, 22)
HSLhsl(72, 73%, 32%)
HSVhsv(72, 84%, 55%)
CMYKcmyk(16.3%, 0%, 84.4%, 44.7%)
CIE-LABlab(55.03, -23.67, 54.42)
CIE-LCHlch(55.03, 59.35, 113.51°)
OKLaboklab(60.43% -0.0706 0.1181)
OKLCHoklch(60.43% 0.138 120.9)
XYZxyz(17.1412, 22.9593, 4.2875)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D16 #2D168D
analogous
#8D6916 #768D16 #3A8D16
triadic
#768D16 #16768D #8D1676
tetradic
#768D16 #168D69 #2D168D #8D163A
square
#768D16 #168D69 #2D168D #8D163A
split-complementary
#768D16 #163A8D #69168D
monochromatic
#1D2305 #4A580E #768D16 #A2C21E #C1E13D

Accessibility & contrast

On white

3.76
#768D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##768D16#FFFFFF#000000##000000
##768D161.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #768d16;
/* rgb */ color: rgb(118, 141, 22);
/* oklch */ color: oklch(60.4% 0.138 120.9);
Tailwind
colors: {
  custom: {
    50: '#a1ae61',
    500: '#768d16',
    950: '#000000',
  },
}
SCSS
$custom: #768d16;
$custom-light: #a1ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#768d16",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 71.597,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60428,
    "c": 0.13763,
    "h": 120.9
  },
  "luminance": 0.22959
}

Semantic roles & 50–950 ramp

primary
#768D16
secondary
#573EC1
accent
#38F05C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768D16

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

Preview Lab → · Contrast checker → · Palette generator →

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