#768A17#768A17

#768A17 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.7% C 0.134 H 119.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#768A17
RGBrgb(118, 138, 23)
HSLhsl(70, 71%, 32%)
HSVhsv(70, 83%, 54%)
CMYKcmyk(14.5%, 0%, 83.3%, 45.9%)
CIE-LABlab(54.12, -22.13, 53.36)
CIE-LCHlch(54.12, 57.76, 112.52°)
OKLaboklab(59.7% -0.0663 0.116)
OKLCHoklch(59.7% 0.134 119.7)
XYZxyz(16.7147, 22.0905, 4.1938)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A17 #2B178A
analogous
#8A6517 #768A17 #3D8A17
triadic
#768A17 #17768A #8A1776
tetradic
#768A17 #178A65 #2B178A #8A173D
square
#768A17 #178A65 #2B178A #8A173D
split-complementary
#768A17 #173D8A #65178A
monochromatic
#1C2106 #49560E #768A17 #A3BE20 #C2DF3D

Accessibility & contrast

On white

3.88
#768A17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#768A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768A17
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768A17#FFFFFF#000000##000000
##768A171.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#918223
Tritanopia (blue-blind)
#7D8275
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #768a17;
/* rgb */ color: rgb(118, 138, 23);
/* oklch */ color: oklch(59.7% 0.134 119.7);
Tailwind
colors: {
  custom: {
    50: '#a1ac60',
    500: '#768a17',
    950: '#000000',
  },
}
SCSS
$custom: #768a17;
$custom-light: #a1ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#768a17",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 70.435,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59698,
    "c": 0.13364,
    "h": 119.7
  },
  "luminance": 0.2209
}

Semantic roles & 50–950 ramp

primary
#768A17
secondary
#553FBE
accent
#3AEE59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768A17

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

Preview Lab → · Contrast checker → · Palette generator →

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