#768C1B#768C1B

#768C1B is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.2% C 0.134 H 120.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#768C1B
RGBrgb(118, 140, 27)
HSLhsl(72, 68%, 33%)
HSVhsv(72, 81%, 55%)
CMYKcmyk(15.7%, 0%, 80.7%, 45.1%)
CIE-LABlab(54.75, -22.97, 52.74)
CIE-LCHlch(54.75, 57.53, 113.54°)
OKLaboklab(60.21% -0.0683 0.1154)
OKLCHoklch(60.21% 0.134 120.6)
XYZxyz(17.0475, 22.6869, 4.5176)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C1B #311B8C
analogous
#8C691B #768C1B #3E8C1B
triadic
#768C1B #1B768C #8C1B76
tetradic
#768C1B #1B8C69 #311B8C #8C1B3E
square
#768C1B #1B8C69 #311B8C #8C1B3E
split-complementary
#768C1B #1B3E8C #691B8C
monochromatic
#202507 #4B5911 #768C1B #A1BF25 #BEDB46

Accessibility & contrast

On white

3.79
#768C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#768C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768C1B
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768C1B#FFFFFF#000000##000000
##768C1B1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#938326
Tritanopia (blue-blind)
#7D8477
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c1b;
/* rgb */ color: rgb(118, 140, 27);
/* oklch */ color: oklch(60.2% 0.134 120.6);
Tailwind
colors: {
  custom: {
    50: '#a1ad62',
    500: '#768c1b',
    950: '#000000',
  },
}
SCSS
$custom: #768c1b;
$custom-light: #a1ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#768c1b",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 71.681,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60208,
    "c": 0.13413,
    "h": 120.6
  },
  "luminance": 0.22687
}

Semantic roles & 50–950 ramp

primary
#768C1B
secondary
#5D46BD
accent
#3DEB5F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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