#768C24#768C24

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

Color values

HEX#768C24
RGBrgb(118, 140, 36)
HSLhsl(73, 59%, 35%)
HSVhsv(73, 74%, 55%)
CMYKcmyk(15.7%, 0%, 74.3%, 45.1%)
CIE-LABlab(54.80, -22.53, 49.73)
CIE-LCHlch(54.80, 54.59, 114.37°)
OKLaboklab(60.26% -0.0663 0.1106)
OKLCHoklch(60.26% 0.129 120.9)
XYZxyz(17.1680, 22.7351, 5.1526)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C24 #3A248C
analogous
#8C6E24 #768C24 #428C24
triadic
#768C24 #24768C #8C2476
tetradic
#768C24 #248C6E #3A248C #8C2442
square
#768C24 #248C6E #3A248C #8C2442
split-complementary
#768C24 #24428C #6E248C
monochromatic
#242B0B #4D5B17 #768C24 #9FBD31 #B9D457

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768C24#FFFFFF#000000##000000
##768C241.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)
#958310
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#7D8478
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c24;
/* rgb */ color: rgb(118, 140, 36);
/* oklch */ color: oklch(60.3% 0.129 120.9);
Tailwind
colors: {
  custom: {
    50: '#a0ad66',
    500: '#768c24',
    950: '#000000',
  },
}
SCSS
$custom: #768c24;
$custom-light: #a0ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#768c24",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 72.692,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60264,
    "c": 0.129,
    "h": 120.9
  },
  "luminance": 0.22735
}

Semantic roles & 50–950 ramp

primary
#768C24
secondary
#6954B8
accent
#46E267
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768C24

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

Preview Lab → · Contrast checker → · Palette generator →

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