#768C2E#768C2E

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

Color values

HEX#768C2E
RGBrgb(118, 140, 46)
HSLhsl(74, 51%, 36%)
HSVhsv(74, 67%, 55%)
CMYKcmyk(15.7%, 0%, 67.1%, 45.1%)
CIE-LABlab(54.87, -21.88, 45.78)
CIE-LCHlch(54.87, 50.74, 115.55°)
OKLaboklab(60.35% -0.0636 0.104)
OKLCHoklch(60.35% 0.122 121.5)
XYZxyz(17.3427, 22.8050, 6.0724)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C2E #442E8C
analogous
#8C732E #768C2E #478C2E
triadic
#768C2E #2E768C #8C2E76
tetradic
#768C2E #2E8C73 #442E8C #8C2E47
square
#768C2E #2E8C73 #442E8C #8C2E47
split-complementary
#768C2E #2E478C #732E8C
monochromatic
#283010 #4F5E1F #768C2E #9DBA3D #B5CD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768C2E#FFFFFF#000000##000000
##768C2E1.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)
#948421
Deuteranopia (green-blind)
#928335
Tritanopia (blue-blind)
#7C8579
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c2e;
/* rgb */ color: rgb(118, 140, 46);
/* oklch */ color: oklch(60.3% 0.122 121.5);
Tailwind
colors: {
  custom: {
    50: '#a0ad6c',
    500: '#768c2e',
    950: '#000000',
  },
}
SCSS
$custom: #768c2e;
$custom-light: #a0ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#768c2e",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 74.043,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60346,
    "c": 0.12189,
    "h": 121.5
  },
  "luminance": 0.22805
}

Semantic roles & 50–950 ramp

primary
#768C2E
secondary
#7562B4
accent
#4EDA6F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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