#768A1E#768A1E

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

Color values

HEX#768A1E
RGBrgb(118, 138, 30)
HSLhsl(71, 64%, 33%)
HSVhsv(71, 78%, 54%)
CMYKcmyk(14.5%, 0%, 78.3%, 45.9%)
CIE-LABlab(54.16, -21.83, 51.24)
CIE-LCHlch(54.16, 55.69, 113.07°)
OKLaboklab(59.74% -0.0649 0.1128)
OKLCHoklch(59.74% 0.13 119.9)
XYZxyz(16.7944, 22.1223, 4.6133)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A1E #321E8A
analogous
#8A681E #768A1E #408A1E
triadic
#768A1E #1E768A #8A1E76
tetradic
#768A1E #1E8A68 #321E8A #8A1E40
square
#768A1E #1E8A68 #321E8A #8A1E40
split-complementary
#768A1E #1E408A #681E8A
monochromatic
#202508 #4B5813 #768A1E #A1BC29 #BED84B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768A1E#FFFFFF#000000##000000
##768A1E1.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)
#938202
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#7D8276
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #768a1e;
/* rgb */ color: rgb(118, 138, 30);
/* oklch */ color: oklch(59.7% 0.130 119.9);
Tailwind
colors: {
  custom: {
    50: '#a1ac63',
    500: '#768a1e',
    950: '#000000',
  },
}
SCSS
$custom: #768a1e;
$custom-light: #a1ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#768a1e",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 71.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59735,
    "c": 0.13013,
    "h": 119.9
  },
  "luminance": 0.22122
}

Semantic roles & 50–950 ramp

primary
#768A1E
secondary
#5E4ABA
accent
#41E75F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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