#768C27#768C27

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

Color values

HEX#768C27
RGBrgb(118, 140, 39)
HSLhsl(73, 56%, 35%)
HSVhsv(73, 72%, 55%)
CMYKcmyk(15.7%, 0%, 72.1%, 45.1%)
CIE-LABlab(54.82, -22.35, 48.60)
CIE-LCHlch(54.82, 53.49, 114.70°)
OKLaboklab(60.29% -0.0656 0.1088)
OKLCHoklch(60.29% 0.127 121.1)
XYZxyz(17.2158, 22.7542, 5.4041)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C27 #3D278C
analogous
#8C6F27 #768C27 #448C27
triadic
#768C27 #27768C #8C2776
tetradic
#768C27 #278C6F #3D278C #8C2744
square
#768C27 #278C6F #3D278C #8C2744
split-complementary
#768C27 #27448C #6F278C
monochromatic
#252C0C #4E5C1A #768C27 #9EBC34 #B8D25C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768C27#FFFFFF#000000##000000
##768C271.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)
#958416
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#7D8578
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c27;
/* rgb */ color: rgb(118, 140, 39);
/* oklch */ color: oklch(60.3% 0.127 121.1);
Tailwind
colors: {
  custom: {
    50: '#a0ad68',
    500: '#768c27',
    950: '#000000',
  },
}
SCSS
$custom: #768c27;
$custom-light: #a0ad68;
$custom-dark: #000000;
JSON
{
  "hex": "#768c27",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 73.069,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60286,
    "c": 0.12703,
    "h": 121.1
  },
  "luminance": 0.22754
}

Semantic roles & 50–950 ramp

primary
#768C27
secondary
#6D58B7
accent
#48E069
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768C27

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

Preview Lab → · Contrast checker → · Palette generator →

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