#768E26#768E26

#768E26 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.8% C 0.130 H 121.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#768E26
RGBrgb(118, 142, 38)
HSLhsl(74, 58%, 35%)
HSVhsv(74, 73%, 56%)
CMYKcmyk(16.9%, 0%, 73.2%, 44.3%)
CIE-LABlab(55.42, -23.42, 49.58)
CIE-LCHlch(55.42, 54.83, 115.28°)
OKLaboklab(60.77% -0.0686 0.1107)
OKLCHoklch(60.77% 0.13 121.8)
XYZxyz(17.4943, 23.3375, 5.4163)
Luminance0.2334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768E26 #3E268E
analogous
#8E7226 #768E26 #428E26
triadic
#768E26 #26768E #8E2676
tetradic
#768E26 #268E72 #3E268E #8E2642
square
#768E26 #268E72 #3E268E #8E2642
split-complementary
#768E26 #26428E #72268E
monochromatic
#262D0C #4E5E19 #768E26 #9EBE33 #B7D35B

Accessibility & contrast

On white

3.71
#768E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#768E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768E26
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768E26#FFFFFF#000000##000000
##768E261.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978513
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#7C877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768e26;
/* rgb */ color: rgb(118, 142, 38);
/* oklch */ color: oklch(60.8% 0.130 121.8);
Tailwind
colors: {
  custom: {
    50: '#a0af68',
    500: '#768e26',
    950: '#000000',
  },
}
SCSS
$custom: #768e26;
$custom-light: #a0af68;
$custom-dark: #000000;
JSON
{
  "hex": "#768e26",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 73.846,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60768,
    "c": 0.13022,
    "h": 121.8
  },
  "luminance": 0.23337
}

Semantic roles & 50–950 ramp

primary
#768E26
secondary
#6E58B8
accent
#47E16A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768E26

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

Preview Lab → · Contrast checker → · Palette generator →

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