#768A19#768A19

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

Color values

HEX#768A19
RGBrgb(118, 138, 25)
HSLhsl(71, 69%, 32%)
HSVhsv(71, 82%, 54%)
CMYKcmyk(14.5%, 0%, 81.9%, 45.9%)
CIE-LABlab(54.13, -22.05, 52.79)
CIE-LCHlch(54.13, 57.21, 112.67°)
OKLaboklab(59.71% -0.0659 0.1152)
OKLCHoklch(59.71% 0.133 119.8)
XYZxyz(16.7355, 22.0988, 4.3034)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A19 #2D198A
analogous
#8A6519 #768A19 #3E8A19
triadic
#768A19 #19768A #8A1976
tetradic
#768A19 #198A65 #2D198A #8A193E
square
#768A19 #198A65 #2D198A #8A193E
split-complementary
#768A19 #193E8A #65198A
monochromatic
#1D2206 #4A5610 #768A19 #A2BE22 #C1DD41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768A19#FFFFFF#000000##000000
##768A191.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)
#918225
Tritanopia (blue-blind)
#7D8276
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #768a19;
/* rgb */ color: rgb(118, 138, 25);
/* oklch */ color: oklch(59.7% 0.133 119.8);
Tailwind
colors: {
  custom: {
    50: '#a1ac61',
    500: '#768a19',
    950: '#000000',
  },
}
SCSS
$custom: #768a19;
$custom-light: #a1ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#768a19",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 70.619,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59707,
    "c": 0.13271,
    "h": 119.8
  },
  "luminance": 0.22099
}

Semantic roles & 50–950 ramp

primary
#768A19
secondary
#5742BD
accent
#3CEC5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768A19

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

Preview Lab → · Contrast checker → · Palette generator →

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