#768C17#768C17

#768C17 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.2% C 0.136 H 120.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#768C17
RGBrgb(118, 140, 23)
HSLhsl(71, 72%, 32%)
HSVhsv(71, 84%, 55%)
CMYKcmyk(15.7%, 0%, 83.6%, 45.1%)
CIE-LABlab(54.73, -23.14, 53.89)
CIE-LCHlch(54.73, 58.65, 113.23°)
OKLaboklab(60.19% -0.0691 0.1172)
OKLCHoklch(60.19% 0.136 120.5)
XYZxyz(17.0043, 22.6696, 4.2903)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C17 #2D178C
analogous
#8C6817 #768C17 #3C8C17
triadic
#768C17 #17768C #8C1776
tetradic
#768C17 #178C68 #2D178C #8C173C
square
#768C17 #178C68 #2D178C #8C173C
split-complementary
#768C17 #173C8C #68178C
monochromatic
#1D2306 #4A570E #768C17 #A2C120 #C1DF3E

Accessibility & contrast

On white

3.79
#768C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#768C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768C17
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768C17#FFFFFF#000000##000000
##768C171.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#938324
Tritanopia (blue-blind)
#7D8477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c17;
/* rgb */ color: rgb(118, 140, 23);
/* oklch */ color: oklch(60.2% 0.136 120.5);
Tailwind
colors: {
  custom: {
    50: '#a1ad61',
    500: '#768c17',
    950: '#000000',
  },
}
SCSS
$custom: #768c17;
$custom-light: #a1ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#768c17",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 71.282,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60188,
    "c": 0.13601,
    "h": 120.5
  },
  "luminance": 0.2267
}

Semantic roles & 50–950 ramp

primary
#768C17
secondary
#573FBF
accent
#39EF5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768C17

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

Preview Lab → · Contrast checker → · Palette generator →

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