#768F26#768F26

#768F26 is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 61.0% C 0.131 H 122.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#768F26
RGBrgb(118, 143, 38)
HSLhsl(74, 58%, 35%)
HSVhsv(74, 73%, 56%)
CMYKcmyk(17.5%, 0%, 73.4%, 43.9%)
CIE-LABlab(55.72, -23.92, 49.88)
CIE-LCHlch(55.72, 55.32, 115.62°)
OKLaboklab(61.01% -0.07 0.1113)
OKLCHoklch(61.01% 0.131 122.2)
XYZxyz(17.6438, 23.6364, 5.4661)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F26 #3F268F
analogous
#8F7326 #768F26 #418F26
triadic
#768F26 #26768F #8F2676
tetradic
#768F26 #268F73 #3F268F #8F2641
square
#768F26 #268F73 #3F268F #8F2641
split-complementary
#768F26 #26418F #73268F
monochromatic
#262E0C #4E5F19 #768F26 #9EBF33 #B7D45C

Accessibility & contrast

On white

3.67
#768F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#768F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768F26
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768F26#FFFFFF#000000##000000
##768F261.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988613
Deuteranopia (green-blind)
#95852F
Tritanopia (blue-blind)
#7C887B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768f26;
/* rgb */ color: rgb(118, 143, 38);
/* oklch */ color: oklch(61.0% 0.131 122.2);
Tailwind
colors: {
  custom: {
    50: '#a1af68',
    500: '#768f26',
    950: '#000000',
  },
}
SCSS
$custom: #768f26;
$custom-light: #a1af68;
$custom-dark: #000000;
JSON
{
  "hex": "#768f26",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 74.286,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61013,
    "c": 0.13148,
    "h": 122.2
  },
  "luminance": 0.23636
}

Semantic roles & 50–950 ramp

primary
#768F26
secondary
#6F58B9
accent
#47E16B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768F26

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

Preview Lab → · Contrast checker → · Palette generator →

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