#768A20#768A20

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

Color values

HEX#768A20
RGBrgb(118, 138, 32)
HSLhsl(71, 62%, 33%)
HSVhsv(71, 77%, 54%)
CMYKcmyk(14.5%, 0%, 76.8%, 45.9%)
CIE-LABlab(54.17, -21.73, 50.56)
CIE-LCHlch(54.17, 55.03, 113.25°)
OKLaboklab(59.75% -0.0645 0.1117)
OKLCHoklch(59.75% 0.129 120)
XYZxyz(16.8207, 22.1329, 4.7522)
Luminance0.2213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A20 #34208A
analogous
#8A6920 #768A20 #418A20
triadic
#768A20 #20768A #8A2076
tetradic
#768A20 #208A69 #34208A #8A2041
square
#768A20 #208A69 #34208A #8A2041
split-complementary
#768A20 #20418A #69208A
monochromatic
#212709 #4C5814 #768A20 #A0BC2C #BCD64E

Accessibility & contrast

On white

3.87
#768A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#768A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768A20
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768A20#FFFFFF#000000##000000
##768A201.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938207
Deuteranopia (green-blind)
#91822A
Tritanopia (blue-blind)
#7D8276
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #768a20;
/* rgb */ color: rgb(118, 138, 32);
/* oklch */ color: oklch(59.7% 0.129 120.0);
Tailwind
colors: {
  custom: {
    50: '#a1ac64',
    500: '#768a20',
    950: '#000000',
  },
}
SCSS
$custom: #768a20;
$custom-light: #a1ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#768a20",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 71.321,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59748,
    "c": 0.12899,
    "h": 120
  },
  "luminance": 0.22133
}

Semantic roles & 50–950 ramp

primary
#768A20
secondary
#614DB9
accent
#42E561
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768A20

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

Preview Lab → · Contrast checker → · Palette generator →

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