#768C2B#768C2B

#768C2B is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.3% C 0.124 H 121.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#768C2B
RGBrgb(118, 140, 43)
HSLhsl(74, 53%, 36%)
HSVhsv(74, 69%, 55%)
CMYKcmyk(15.7%, 0%, 69.3%, 45.1%)
CIE-LABlab(54.85, -22.09, 47.02)
CIE-LCHlch(54.85, 51.95, 115.17°)
OKLaboklab(60.32% -0.0645 0.1061)
OKLCHoklch(60.32% 0.124 121.3)
XYZxyz(17.2856, 22.7821, 5.7718)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C2B #412B8C
analogous
#8C712B #768C2B #458C2B
triadic
#768C2B #2B768C #8C2B76
tetradic
#768C2B #2B8C71 #412B8C #8C2B45
square
#768C2B #2B8C71 #412B8C #8C2B45
split-complementary
#768C2B #2B458C #712B8C
monochromatic
#272E0E #4F5D1D #768C2B #9DBB39 #B6CF62

Accessibility & contrast

On white

3.78
#768C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#768C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768C2B
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768C2B#FFFFFF#000000##000000
##768C2B1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841D
Deuteranopia (green-blind)
#928333
Tritanopia (blue-blind)
#7C8579
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c2b;
/* rgb */ color: rgb(118, 140, 43);
/* oklch */ color: oklch(60.3% 0.124 121.3);
Tailwind
colors: {
  custom: {
    50: '#a0ad6a',
    500: '#768c2b',
    950: '#000000',
  },
}
SCSS
$custom: #768c2b;
$custom-light: #a0ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#768c2b",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 73.608,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60319,
    "c": 0.12417,
    "h": 121.3
  },
  "luminance": 0.22782
}

Semantic roles & 50–950 ramp

primary
#768C2B
secondary
#725EB5
accent
#4BDC6C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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