#768B28#768B28

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

Color values

HEX#768B28
RGBrgb(118, 139, 40)
HSLhsl(73, 55%, 35%)
HSVhsv(73, 71%, 55%)
CMYKcmyk(15.1%, 0%, 71.2%, 45.5%)
CIE-LABlab(54.52, -21.78, 47.91)
CIE-LCHlch(54.52, 52.63, 114.45°)
OKLaboklab(60.05% -0.0639 0.1075)
OKLCHoklch(60.05% 0.125 120.7)
XYZxyz(17.0871, 22.4700, 5.4440)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768B28 #3D288B
analogous
#8B6E28 #768B28 #458B28
triadic
#768B28 #28768B #8B2876
tetradic
#768B28 #288B6E #3D288B #8B2845
square
#768B28 #288B6E #3D288B #8B2845
split-complementary
#768B28 #28458B #6E288B
monochromatic
#252C0D #4E5B1A #768B28 #9EBB36 #B8D05D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768B28#FFFFFF#000000##000000
##768B281.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)
#948318
Deuteranopia (green-blind)
#918330
Tritanopia (blue-blind)
#7D8477
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #768b28;
/* rgb */ color: rgb(118, 139, 40);
/* oklch */ color: oklch(60.1% 0.125 120.7);
Tailwind
colors: {
  custom: {
    50: '#a0ac68',
    500: '#768b28',
    950: '#000000',
  },
}
SCSS
$custom: #768b28;
$custom-light: #a0ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#768b28",
  "rgb": {
    "r": 118,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 72.727,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6005,
    "c": 0.12506,
    "h": 120.7
  },
  "luminance": 0.2247
}

Semantic roles & 50–950 ramp

primary
#768B28
secondary
#6D59B6
accent
#49DF69
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768B28

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

Preview Lab → · Contrast checker → · Palette generator →

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