#768A25#768A25

#768A25 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.8% C 0.126 H 120.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#768A25
RGBrgb(118, 138, 37)
HSLhsl(72, 58%, 34%)
HSVhsv(72, 73%, 54%)
CMYKcmyk(14.5%, 0%, 73.2%, 45.9%)
CIE-LABlab(54.20, -21.45, 48.76)
CIE-LCHlch(54.20, 53.27, 113.75°)
OKLaboklab(59.78% -0.0633 0.1088)
OKLCHoklch(59.78% 0.126 120.2)
XYZxyz(16.8939, 22.1621, 5.1376)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768A25 #39258A
analogous
#8A6C25 #768A25 #448A25
triadic
#768A25 #25768A #8A2576
tetradic
#768A25 #258A6C #39258A #8A2544
square
#768A25 #258A6C #39258A #8A2544
split-complementary
#768A25 #25448A #6C258A
monochromatic
#23290B #4D5A18 #768A25 #9FBA32 #BAD257

Accessibility & contrast

On white

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

On black

5.43
#768A25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768A25
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768A25#FFFFFF#000000##000000
##768A251.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938213
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#7D8376
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768a25;
/* rgb */ color: rgb(118, 138, 37);
/* oklch */ color: oklch(59.8% 0.126 120.2);
Tailwind
colors: {
  custom: {
    50: '#a0ac67',
    500: '#768a25',
    950: '#000000',
  },
}
SCSS
$custom: #768a25;
$custom-light: #a0ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#768a25",
  "rgb": {
    "r": 118,
    "g": 138,
    "b": 37
  },
  "hsl": {
    "h": 71.881,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59783,
    "c": 0.12585,
    "h": 120.2
  },
  "luminance": 0.22162
}

Semantic roles & 50–950 ramp

primary
#768A25
secondary
#6854B7
accent
#47E165
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768A25

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

Preview Lab → · Contrast checker → · Palette generator →

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