#768C25#768C25

#768C25 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.3% C 0.128 H 121.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#768C25
RGBrgb(118, 140, 37)
HSLhsl(73, 58%, 35%)
HSVhsv(73, 74%, 55%)
CMYKcmyk(15.7%, 0%, 73.6%, 45.1%)
CIE-LABlab(54.80, -22.47, 49.36)
CIE-LCHlch(54.80, 54.23, 114.48°)
OKLaboklab(60.27% -0.0661 0.11)
OKLCHoklch(60.27% 0.128 121)
XYZxyz(17.1835, 22.7413, 5.2342)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C25 #3B258C
analogous
#8C6F25 #768C25 #428C25
triadic
#768C25 #25768C #8C2576
tetradic
#768C25 #258C6F #3B258C #8C2542
square
#768C25 #258C6F #3B258C #8C2542
split-complementary
#768C25 #25428C #6F258C
monochromatic
#242B0B #4D5C18 #768C25 #9FBC32 #B9D358

Accessibility & contrast

On white

3.79
#768C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#768C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768C25
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768C25#FFFFFF#000000##000000
##768C251.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958312
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#7D8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c25;
/* rgb */ color: rgb(118, 140, 37);
/* oklch */ color: oklch(60.3% 0.128 121.0);
Tailwind
colors: {
  custom: {
    50: '#a0ad67',
    500: '#768c25',
    950: '#000000',
  },
}
SCSS
$custom: #768c25;
$custom-light: #a0ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#768c25",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 37
  },
  "hsl": {
    "h": 72.816,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60271,
    "c": 0.12836,
    "h": 121
  },
  "luminance": 0.22741
}

Semantic roles & 50–950 ramp

primary
#768C25
secondary
#6A55B8
accent
#46E168
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768C25

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

Preview Lab → · Contrast checker → · Palette generator →

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