#768E28#768E28

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

Color values

HEX#768E28
RGBrgb(118, 142, 40)
HSLhsl(74, 56%, 36%)
HSVhsv(74, 72%, 56%)
CMYKcmyk(16.9%, 0%, 71.8%, 44.3%)
CIE-LABlab(55.43, -23.30, 48.82)
CIE-LCHlch(55.43, 54.10, 115.51°)
OKLaboklab(60.78% -0.0681 0.1094)
OKLCHoklch(60.78% 0.129 121.9)
XYZxyz(17.5275, 23.3507, 5.5908)
Luminance0.2335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768E28 #40288E
analogous
#8E7328 #768E28 #438E28
triadic
#768E28 #28768E #8E2876
tetradic
#768E28 #288E73 #40288E #8E2843
square
#768E28 #288E73 #40288E #8E2843
split-complementary
#768E28 #28438E #73288E
monochromatic
#272F0D #4E5E1B #768E28 #9EBE35 #B7D25F

Accessibility & contrast

On white

3.70
#768E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##768E28#FFFFFF#000000##000000
##768E281.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978517
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#7C877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768e28;
/* rgb */ color: rgb(118, 142, 40);
/* oklch */ color: oklch(60.8% 0.129 121.9);
Tailwind
colors: {
  custom: {
    50: '#a0af69',
    500: '#768e28',
    950: '#000000',
  },
}
SCSS
$custom: #768e28;
$custom-light: #a0af69;
$custom-dark: #000000;
JSON
{
  "hex": "#768e28",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 74.118,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60783,
    "c": 0.12887,
    "h": 121.9
  },
  "luminance": 0.23351
}

Semantic roles & 50–950 ramp

primary
#768E28
secondary
#705BB7
accent
#48DF6C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768E28

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

Preview Lab → · Contrast checker → · Palette generator →

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