#768E1A#768E1A

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

Color values

HEX#768E1A
RGBrgb(118, 142, 26)
HSLhsl(72, 69%, 33%)
HSVhsv(72, 82%, 56%)
CMYKcmyk(16.9%, 0%, 81.7%, 44.3%)
CIE-LABlab(55.35, -24.02, 53.59)
CIE-LCHlch(55.35, 58.72, 114.14°)
OKLaboklab(60.69% -0.0713 0.117)
OKLCHoklch(60.69% 0.137 121.3)
XYZxyz(17.3310, 23.2721, 4.5560)
Luminance0.2327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768E1A #321A8E
analogous
#8E6C1A #768E1A #3C8E1A
triadic
#768E1A #1A768E #8E1A76
tetradic
#768E1A #1A8E6C #321A8E #8E1A3C
square
#768E1A #1A8E6C #321A8E #8E1A3C
split-complementary
#768E1A #1A3C8E #6C1A8E
monochromatic
#202707 #4B5A11 #768E1A #A1C223 #BEDD45

Accessibility & contrast

On white

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

On black

5.65
#768E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768E1A
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768E1A#FFFFFF#000000##000000
##768E1A1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#948526
Tritanopia (blue-blind)
#7D8679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768e1a;
/* rgb */ color: rgb(118, 142, 26);
/* oklch */ color: oklch(60.7% 0.137 121.3);
Tailwind
colors: {
  custom: {
    50: '#a1af62',
    500: '#768e1a',
    950: '#000000',
  },
}
SCSS
$custom: #768e1a;
$custom-light: #a1af62;
$custom-dark: #000000;
JSON
{
  "hex": "#768e1a",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 72.414,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60693,
    "c": 0.13703,
    "h": 121.3
  },
  "luminance": 0.23272
}

Semantic roles & 50–950 ramp

primary
#768E1A
secondary
#5E45BE
accent
#3CEC60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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