#768B27#768B27

#768B27 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.0% C 0.126 H 120.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#768B27
RGBrgb(118, 139, 39)
HSLhsl(73, 56%, 35%)
HSVhsv(73, 72%, 55%)
CMYKcmyk(15.1%, 0%, 71.9%, 45.5%)
CIE-LABlab(54.52, -21.84, 48.30)
CIE-LCHlch(54.52, 53.01, 114.34°)
OKLaboklab(60.04% -0.0642 0.1082)
OKLCHoklch(60.04% 0.126 120.7)
XYZxyz(17.0703, 22.4633, 5.3556)
Luminance0.2246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768B27 #3C278B
analogous
#8B6E27 #768B27 #448B27
triadic
#768B27 #27768B #8B2776
tetradic
#768B27 #278B6E #3C278B #8B2744
square
#768B27 #278B6E #3C278B #8B2744
split-complementary
#768B27 #27448B #6E278B
monochromatic
#252B0C #4D5B1A #768B27 #9FBB34 #B8D15B

Accessibility & contrast

On white

3.82
#768B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#768B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768B27
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768B27#FFFFFF#000000##000000
##768B271.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948316
Deuteranopia (green-blind)
#91832F
Tritanopia (blue-blind)
#7D8477
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768b27;
/* rgb */ color: rgb(118, 139, 39);
/* oklch */ color: oklch(60.0% 0.126 120.7);
Tailwind
colors: {
  custom: {
    50: '#a0ac68',
    500: '#768b27',
    950: '#000000',
  },
}
SCSS
$custom: #768b27;
$custom-light: #a0ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#768b27",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 72.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60042,
    "c": 0.12576,
    "h": 120.7
  },
  "luminance": 0.22463
}

Semantic roles & 50–950 ramp

primary
#768B27
secondary
#6C58B6
accent
#48DF68
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768B27

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

Preview Lab → · Contrast checker → · Palette generator →

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