#768B20#768B20

#768B20 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 60.0% C 0.130 H 120.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#768B20
RGBrgb(118, 139, 32)
HSLhsl(72, 63%, 34%)
HSVhsv(72, 77%, 55%)
CMYKcmyk(15.1%, 0%, 77%, 45.5%)
CIE-LABlab(54.47, -22.24, 50.85)
CIE-LCHlch(54.47, 55.50, 113.62°)
OKLaboklab(59.99% -0.0659 0.1123)
OKLCHoklch(59.99% 0.13 120.4)
XYZxyz(16.9649, 22.4211, 4.8002)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768B20 #35208B
analogous
#8B6A20 #768B20 #408B20
triadic
#768B20 #20768B #8B2076
tetradic
#768B20 #208B6A #35208B #8B2040
square
#768B20 #208B6A #35208B #8B2040
split-complementary
#768B20 #20408B #6A208B
monochromatic
#222809 #4C5915 #768B20 #A0BD2B #BCD64F

Accessibility & contrast

On white

3.83
#768B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#768B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768B20
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768B20#FFFFFF#000000##000000
##768B201.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948307
Deuteranopia (green-blind)
#92822A
Tritanopia (blue-blind)
#7D8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768b20;
/* rgb */ color: rgb(118, 139, 32);
/* oklch */ color: oklch(60.0% 0.130 120.4);
Tailwind
colors: {
  custom: {
    50: '#a1ac64',
    500: '#768b20',
    950: '#000000',
  },
}
SCSS
$custom: #768b20;
$custom-light: #a1ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#768b20",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 71.776,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59992,
    "c": 0.13021,
    "h": 120.4
  },
  "luminance": 0.22421
}

Semantic roles & 50–950 ramp

primary
#768B20
secondary
#634DBA
accent
#42E662
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768B20

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

Preview Lab → · Contrast checker → · Palette generator →

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