#768F17#768F17

#768F17 is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.9% C 0.140 H 121.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#768F17
RGBrgb(118, 143, 23)
HSLhsl(73, 72%, 33%)
HSVhsv(73, 84%, 56%)
CMYKcmyk(17.5%, 0%, 83.9%, 43.9%)
CIE-LABlab(55.64, -24.64, 54.69)
CIE-LCHlch(55.64, 59.98, 114.25°)
OKLaboklab(60.92% -0.0732 0.1189)
OKLCHoklch(60.92% 0.14 121.6)
XYZxyz(17.4486, 23.5583, 4.4384)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F17 #30178F
analogous
#8F6C17 #768F17 #3A8F17
triadic
#768F17 #17768F #8F1776
tetradic
#768F17 #178F6C #30178F #8F173A
square
#768F17 #178F6C #30178F #8F173A
split-complementary
#768F17 #173A8F #6C178F
monochromatic
#1F2606 #4A5A0F #768F17 #A2C41F #BFE040

Accessibility & contrast

On white

3.68
#768F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#768F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768F17
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768F17#FFFFFF#000000##000000
##768F171.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#958524
Tritanopia (blue-blind)
#7D877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768f17;
/* rgb */ color: rgb(118, 143, 23);
/* oklch */ color: oklch(60.9% 0.140 121.6);
Tailwind
colors: {
  custom: {
    50: '#a1af61',
    500: '#768f17',
    950: '#000000',
  },
}
SCSS
$custom: #768f17;
$custom-light: #a1af61;
$custom-dark: #000000;
JSON
{
  "hex": "#768f17",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 72.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60924,
    "c": 0.13958,
    "h": 121.6
  },
  "luminance": 0.23558
}

Semantic roles & 50–950 ramp

primary
#768F17
secondary
#5C41C1
accent
#39EF5F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768F17

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

Preview Lab → · Contrast checker → · Palette generator →

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