#768B2A#768B2A

#768B2A is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.1% C 0.124 H 120.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#768B2A
RGBrgb(118, 139, 42)
HSLhsl(73, 54%, 35%)
HSVhsv(73, 70%, 55%)
CMYKcmyk(15.1%, 0%, 69.8%, 45.5%)
CIE-LABlab(54.54, -21.65, 47.11)
CIE-LCHlch(54.54, 51.85, 114.68°)
OKLaboklab(60.07% -0.0634 0.1062)
OKLCHoklch(60.07% 0.124 120.8)
XYZxyz(17.1220, 22.4840, 5.6279)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768B2A #3F2A8B
analogous
#8B6F2A #768B2A #458B2A
triadic
#768B2A #2A768B #8B2A76
tetradic
#768B2A #2A8B6F #3F2A8B #8B2A45
square
#768B2A #2A8B6F #3F2A8B #8B2A45
split-complementary
#768B2A #2A458B #6F2A8B
monochromatic
#262D0E #4E5C1C #768B2A #9EBA38 #B7CF60

Accessibility & contrast

On white

3.82
#768B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#768B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768B2A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768B2A#FFFFFF#000000##000000
##768B2A1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#918332
Tritanopia (blue-blind)
#7D8478
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768b2a;
/* rgb */ color: rgb(118, 139, 42);
/* oklch */ color: oklch(60.1% 0.124 120.8);
Tailwind
colors: {
  custom: {
    50: '#a0ac6a',
    500: '#768b2a',
    950: '#000000',
  },
}
SCSS
$custom: #768b2a;
$custom-light: #a0ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#768b2a",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 72.99,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60066,
    "c": 0.12362,
    "h": 120.8
  },
  "luminance": 0.22484
}

Semantic roles & 50–950 ramp

primary
#768B2A
secondary
#6F5CB5
accent
#4BDD6A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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