#768D14#768D14

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

Color values

HEX#768D14
RGBrgb(118, 141, 20)
HSLhsl(71, 75%, 32%)
HSVhsv(71, 86%, 55%)
CMYKcmyk(16.3%, 0%, 85.8%, 44.7%)
CIE-LABlab(55.02, -23.74, 54.93)
CIE-LCHlch(55.02, 59.84, 113.38°)
OKLaboklab(60.42% -0.0709 0.1189)
OKLCHoklch(60.42% 0.138 120.8)
XYZxyz(17.1227, 22.9518, 4.1898)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D14 #2B148D
analogous
#8D6814 #768D14 #3A8D14
triadic
#768D14 #14768D #8D1476
tetradic
#768D14 #148D68 #2B148D #8D143A
square
#768D14 #148D68 #2B148D #8D143A
split-complementary
#768D14 #143A8D #68148D
monochromatic
#1C2205 #49570C #768D14 #A3C31C #C2E339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768D14#FFFFFF#000000##000000
##768D141.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)
#948422
Tritanopia (blue-blind)
#7D8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768d14;
/* rgb */ color: rgb(118, 141, 20);
/* oklch */ color: oklch(60.4% 0.138 120.8);
Tailwind
colors: {
  custom: {
    50: '#a1ae60',
    500: '#768d14',
    950: '#000000',
  },
}
SCSS
$custom: #768d14;
$custom-light: #a1ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#768d14",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 71.405,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.6042,
    "c": 0.13843,
    "h": 120.8
  },
  "luminance": 0.22952
}

Semantic roles & 50–950 ramp

primary
#768D14
secondary
#553CC1
accent
#36F25A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768D14

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

Preview Lab → · Contrast checker → · Palette generator →

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