#768D20#768D20

#768D20 is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.5% C 0.133 H 121.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#768D20
RGBrgb(118, 141, 32)
HSLhsl(73, 63%, 34%)
HSVhsv(73, 77%, 55%)
CMYKcmyk(16.3%, 0%, 77.3%, 44.7%)
CIE-LABlab(55.08, -23.25, 51.42)
CIE-LCHlch(55.08, 56.43, 114.33°)
OKLaboklab(60.48% -0.0687 0.1135)
OKLCHoklch(60.48% 0.133 121.2)
XYZxyz(17.2571, 23.0056, 4.8976)
Luminance0.2301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D20 #37208D
analogous
#8D6E20 #768D20 #3F8D20
triadic
#768D20 #20768D #8D2076
tetradic
#768D20 #208D6E #37208D #8D203F
square
#768D20 #208D6E #37208D #8D203F
split-complementary
#768D20 #203F8D #6E208D
monochromatic
#232909 #4C5B15 #768D20 #A0BF2B #BBD750

Accessibility & contrast

On white

3.75
#768D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#768D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768D20
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768D20#FFFFFF#000000##000000
##768D201.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968406
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#7D8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768d20;
/* rgb */ color: rgb(118, 141, 32);
/* oklch */ color: oklch(60.5% 0.133 121.2);
Tailwind
colors: {
  custom: {
    50: '#a1ae65',
    500: '#768d20',
    950: '#000000',
  },
}
SCSS
$custom: #768d20;
$custom-light: #a1ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#768d20",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 72.661,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60482,
    "c": 0.13267,
    "h": 121.2
  },
  "luminance": 0.23006
}

Semantic roles & 50–950 ramp

primary
#768D20
secondary
#654EBA
accent
#42E664
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768D20

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

Preview Lab → · Contrast checker → · Palette generator →

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