#768B1B#768B1B

#768B1B is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 60.0% C 0.133 H 120.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#768B1B
RGBrgb(118, 139, 27)
HSLhsl(71, 67%, 33%)
HSVhsv(71, 81%, 55%)
CMYKcmyk(15.1%, 0%, 80.6%, 45.5%)
CIE-LABlab(54.44, -22.47, 52.47)
CIE-LCHlch(54.44, 57.08, 113.18°)
OKLaboklab(59.96% -0.0669 0.1148)
OKLCHoklch(59.96% 0.133 120.2)
XYZxyz(16.9020, 22.3960, 4.4691)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768B1B #301B8B
analogous
#8B681B #768B1B #3E8B1B
triadic
#768B1B #1B768B #8B1B76
tetradic
#768B1B #1B8B68 #301B8B #8B1B3E
square
#768B1B #1B8B68 #301B8B #8B1B3E
split-complementary
#768B1B #1B3E8B #681B8B
monochromatic
#1F2507 #4A5811 #768B1B #A2BE25 #BFDB45

Accessibility & contrast

On white

3.83
#768B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#768B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768B1B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768B1B#FFFFFF#000000##000000
##768B1B1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#928226
Tritanopia (blue-blind)
#7D8376
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768b1b;
/* rgb */ color: rgb(118, 139, 27);
/* oklch */ color: oklch(60.0% 0.133 120.2);
Tailwind
colors: {
  custom: {
    50: '#a1ac62',
    500: '#768b1b',
    950: '#000000',
  },
}
SCSS
$custom: #768b1b;
$custom-light: #a1ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#768b1b",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 71.25,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59963,
    "c": 0.13293,
    "h": 120.2
  },
  "luminance": 0.22396
}

Semantic roles & 50–950 ramp

primary
#768B1B
secondary
#5C45BC
accent
#3DEA5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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