#768C2C#768C2C

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

Color values

HEX#768C2C
RGBrgb(118, 140, 44)
HSLhsl(74, 52%, 36%)
HSVhsv(74, 69%, 55%)
CMYKcmyk(15.7%, 0%, 68.6%, 45.1%)
CIE-LABlab(54.85, -22.03, 46.61)
CIE-LCHlch(54.85, 51.55, 115.29°)
OKLaboklab(60.33% -0.0642 0.1054)
OKLCHoklch(60.33% 0.123 121.3)
XYZxyz(17.3042, 22.7896, 5.8696)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C2C #422C8C
analogous
#8C722C #768C2C #468C2C
triadic
#768C2C #2C768C #8C2C76
tetradic
#768C2C #2C8C72 #422C8C #8C2C46
square
#768C2C #2C8C72 #422C8C #8C2C46
split-complementary
#768C2C #2C468C #722C8C
monochromatic
#282F0F #4F5D1D #768C2C #9DBB3B #B6CE64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768C2C#FFFFFF#000000##000000
##768C2C1.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)
#95841E
Deuteranopia (green-blind)
#928333
Tritanopia (blue-blind)
#7C8579
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c2c;
/* rgb */ color: rgb(118, 140, 44);
/* oklch */ color: oklch(60.3% 0.123 121.3);
Tailwind
colors: {
  custom: {
    50: '#a0ad6b',
    500: '#768c2c',
    950: '#000000',
  },
}
SCSS
$custom: #768c2c;
$custom-light: #a0ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#768c2c",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 73.75,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.12342,
    "h": 121.3
  },
  "luminance": 0.2279
}

Semantic roles & 50–950 ramp

primary
#768C2C
secondary
#735FB5
accent
#4CDC6D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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