#768E1F#768E1F

#768E1F is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.7% C 0.134 H 121.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#768E1F
RGBrgb(118, 142, 31)
HSLhsl(73, 64%, 34%)
HSVhsv(73, 78%, 56%)
CMYKcmyk(16.9%, 0%, 78.2%, 44.3%)
CIE-LABlab(55.38, -23.80, 52.04)
CIE-LCHlch(55.38, 57.22, 114.57°)
OKLaboklab(60.72% -0.0703 0.1146)
OKLCHoklch(60.72% 0.134 121.5)
XYZxyz(17.3918, 23.2965, 4.8765)
Luminance0.2330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768E1F #371F8E
analogous
#8E6F1F #768E1F #3F8E1F
triadic
#768E1F #1F768E #8E1F76
tetradic
#768E1F #1F8E6F #371F8E #8E1F3F
square
#768E1F #1F8E6F #371F8E #8E1F3F
split-complementary
#768E1F #1F3F8E #6F1F8E
monochromatic
#232A09 #4C5C14 #768E1F #A0C02A #BBD94F

Accessibility & contrast

On white

3.71
#768E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#768E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768E1F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768E1F#FFFFFF#000000##000000
##768E1F1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978502
Deuteranopia (green-blind)
#94852A
Tritanopia (blue-blind)
#7D8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768e1f;
/* rgb */ color: rgb(118, 142, 31);
/* oklch */ color: oklch(60.7% 0.134 121.5);
Tailwind
colors: {
  custom: {
    50: '#a1af64',
    500: '#768e1f',
    950: '#000000',
  },
}
SCSS
$custom: #768e1f;
$custom-light: #a1af64;
$custom-dark: #000000;
JSON
{
  "hex": "#768e1f",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 72.973,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.60721,
    "c": 0.13446,
    "h": 121.5
  },
  "luminance": 0.23296
}

Semantic roles & 50–950 ramp

primary
#768E1F
secondary
#654DBB
accent
#41E765
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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