#768A1B#768A1B

#768A1B is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.7% C 0.132 H 119.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#768A1B
RGBrgb(118, 138, 27)
HSLhsl(71, 67%, 32%)
HSVhsv(71, 80%, 54%)
CMYKcmyk(14.5%, 0%, 80.4%, 45.9%)
CIE-LABlab(54.14, -21.96, 52.19)
CIE-LCHlch(54.14, 56.62, 112.82°)
OKLaboklab(59.72% -0.0656 0.1143)
OKLCHoklch(59.72% 0.132 119.8)
XYZxyz(16.7579, 22.1077, 4.4211)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A1B #2F1B8A
analogous
#8A671B #768A1B #3E8A1B
triadic
#768A1B #1B768A #8A1B76
tetradic
#768A1B #1B8A67 #2F1B8A #8A1B3E
square
#768A1B #1B8A67 #2F1B8A #8A1B3E
split-complementary
#768A1B #1B3E8A #671B8A
monochromatic
#1E2407 #4A5711 #768A1B #A2BD25 #C0DB45

Accessibility & contrast

On white

3.87
#768A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#768A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768A1B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768A1B#FFFFFF#000000##000000
##768A1B1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#7D8276
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #768a1b;
/* rgb */ color: rgb(118, 138, 27);
/* oklch */ color: oklch(59.7% 0.132 119.8);
Tailwind
colors: {
  custom: {
    50: '#a1ac62',
    500: '#768a1b',
    950: '#000000',
  },
}
SCSS
$custom: #768a1b;
$custom-light: #a1ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#768a1b",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 70.811,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59718,
    "c": 0.13172,
    "h": 119.8
  },
  "luminance": 0.22108
}

Semantic roles & 50–950 ramp

primary
#768A1B
secondary
#5A45BC
accent
#3EEA5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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