#768A2D#768A2D

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

Color values

HEX#768A2D
RGBrgb(118, 138, 45)
HSLhsl(73, 51%, 36%)
HSVhsv(73, 67%, 54%)
CMYKcmyk(14.5%, 0%, 67.4%, 45.9%)
CIE-LABlab(54.26, -20.94, 45.57)
CIE-LCHlch(54.26, 50.15, 114.68°)
OKLaboklab(59.85% -0.0611 0.1034)
OKLCHoklch(59.85% 0.12 120.6)
XYZxyz(17.0336, 22.2180, 5.8733)
Luminance0.2222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A2D #412D8A
analogous
#8A6F2D #768A2D #478A2D
triadic
#768A2D #2D768A #8A2D76
tetradic
#768A2D #2D8A6F #412D8A #8A2D47
square
#768A2D #2D8A6F #412D8A #8A2D47
split-complementary
#768A2D #2D478A #6F2D8A
monochromatic
#272E0F #4F5C1E #768A2D #9DB83C #B6CD65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768A2D#FFFFFF#000000##000000
##768A2D1.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)
#938220
Deuteranopia (green-blind)
#908234
Tritanopia (blue-blind)
#7C8377
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768a2d;
/* rgb */ color: rgb(118, 138, 45);
/* oklch */ color: oklch(59.8% 0.120 120.6);
Tailwind
colors: {
  custom: {
    50: '#a0ac6b',
    500: '#768a2d',
    950: '#000000',
  },
}
SCSS
$custom: #768a2d;
$custom-light: #a0ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#768a2d",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 72.903,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59849,
    "c": 0.12006,
    "h": 120.6
  },
  "luminance": 0.22218
}

Semantic roles & 50–950 ramp

primary
#768A2D
secondary
#7260B3
accent
#4DDA6C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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