#768A2A#768A2A

#768A2A is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.8% C 0.122 H 120.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#768A2A
RGBrgb(118, 138, 42)
HSLhsl(73, 53%, 35%)
HSVhsv(73, 70%, 54%)
CMYKcmyk(14.5%, 0%, 69.6%, 45.9%)
CIE-LABlab(54.23, -21.14, 46.81)
CIE-LCHlch(54.23, 51.36, 114.31°)
OKLaboklab(59.82% -0.0619 0.1055)
OKLCHoklch(59.82% 0.122 120.4)
XYZxyz(16.9779, 22.1957, 5.5798)
Luminance0.2220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A2A #3E2A8A
analogous
#8A6E2A #768A2A #468A2A
triadic
#768A2A #2A768A #8A2A76
tetradic
#768A2A #2A8A6E #3E2A8A #8A2A46
square
#768A2A #2A8A6E #3E2A8A #8A2A46
split-complementary
#768A2A #2A468A #6E2A8A
monochromatic
#262C0D #4E5B1C #768A2A #9EB938 #B7CF60

Accessibility & contrast

On white

3.86
#768A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#768A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768A2A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768A2A#FFFFFF#000000##000000
##768A2A1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821C
Deuteranopia (green-blind)
#908231
Tritanopia (blue-blind)
#7D8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768a2a;
/* rgb */ color: rgb(118, 138, 42);
/* oklch */ color: oklch(59.8% 0.122 120.4);
Tailwind
colors: {
  custom: {
    50: '#a0ac69',
    500: '#768a2a',
    950: '#000000',
  },
}
SCSS
$custom: #768a2a;
$custom-light: #a0ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#768a2a",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 72.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59823,
    "c": 0.12234,
    "h": 120.4
  },
  "luminance": 0.22196
}

Semantic roles & 50–950 ramp

primary
#768A2A
secondary
#6E5BB4
accent
#4BDD69
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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