#768C28#768C28

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

Color values

HEX#768C28
RGBrgb(118, 140, 40)
HSLhsl(73, 56%, 35%)
HSVhsv(73, 71%, 55%)
CMYKcmyk(15.7%, 0%, 71.4%, 45.1%)
CIE-LABlab(54.83, -22.29, 48.21)
CIE-LCHlch(54.83, 53.12, 114.81°)
OKLaboklab(60.29% -0.0653 0.1081)
OKLCHoklch(60.29% 0.126 121.1)
XYZxyz(17.2326, 22.7609, 5.4925)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C28 #3E288C
analogous
#8C7028 #768C28 #448C28
triadic
#768C28 #28768C #8C2876
tetradic
#768C28 #288C70 #3E288C #8C2844
square
#768C28 #288C70 #3E288C #8C2844
split-complementary
#768C28 #28448C #70288C
monochromatic
#262D0D #4E5C1A #768C28 #9EBC36 #B7D15E

Accessibility & contrast

On white

3.78
#768C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##768C28#FFFFFF#000000##000000
##768C281.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958418
Deuteranopia (green-blind)
#928330
Tritanopia (blue-blind)
#7D8578
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c28;
/* rgb */ color: rgb(118, 140, 40);
/* oklch */ color: oklch(60.3% 0.126 121.1);
Tailwind
colors: {
  custom: {
    50: '#a0ad69',
    500: '#768c28',
    950: '#000000',
  },
}
SCSS
$custom: #768c28;
$custom-light: #a0ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#768c28",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 73.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60294,
    "c": 0.12633,
    "h": 121.1
  },
  "luminance": 0.22761
}

Semantic roles & 50–950 ramp

primary
#768C28
secondary
#6E5AB6
accent
#49DF6A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768C28

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

Preview Lab → · Contrast checker → · Palette generator →

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