#768A13#768A13

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

Color values

HEX#768A13
RGBrgb(118, 138, 19)
HSLhsl(70, 76%, 31%)
HSVhsv(70, 86%, 54%)
CMYKcmyk(14.5%, 0%, 86.2%, 45.9%)
CIE-LABlab(54.11, -22.27, 54.40)
CIE-LCHlch(54.11, 58.78, 112.26°)
OKLaboklab(59.68% -0.0669 0.1176)
OKLCHoklch(59.68% 0.135 119.7)
XYZxyz(16.6776, 22.0756, 3.9984)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A13 #27138A
analogous
#8A6213 #768A13 #3A8A13
triadic
#768A13 #13768A #8A1376
tetradic
#768A13 #138A62 #27138A #8A133A
square
#768A13 #138A62 #27138A #8A133A
split-complementary
#768A13 #133A8A #62138A
monochromatic
#1A1E04 #48540C #768A13 #A4C01A #C6E334

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768A13#FFFFFF#000000##000000
##768A131.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)
#938100
Deuteranopia (green-blind)
#918221
Tritanopia (blue-blind)
#7D8275
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #768a13;
/* rgb */ color: rgb(118, 138, 19);
/* oklch */ color: oklch(59.7% 0.135 119.7);
Tailwind
colors: {
  custom: {
    50: '#a1ac5f',
    500: '#768a13',
    950: '#000000',
  },
}
SCSS
$custom: #768a13;
$custom-light: #a1ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#768a13",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 19
  },
  "hsl": {
    "h": 70.084,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5968,
    "c": 0.13529,
    "h": 119.7
  },
  "luminance": 0.22076
}

Semantic roles & 50–950 ramp

primary
#768A13
secondary
#513ABE
accent
#35F255
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #768A13

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

Preview Lab → · Contrast checker → · Palette generator →

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