#768628#768628

#768628 is a mid, moderate yellow-green. Relative luminance 0.211; OKLCH L 58.8% C 0.119 H 118.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#768628
RGBrgb(118, 134, 40)
HSLhsl(70, 54%, 34%)
HSVhsv(70, 70%, 53%)
CMYKcmyk(11.9%, 0%, 70.1%, 47.5%)
CIE-LABlab(53.01, -19.21, 46.38)
CIE-LCHlch(53.01, 50.20, 112.50°)
OKLaboklab(58.83% -0.0568 0.1043)
OKLCHoklch(58.83% 0.119 118.6)
XYZxyz(16.3796, 21.0551, 5.2082)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768628 #382886
analogous
#866728 #768628 #478628
triadic
#768628 #287686 #862876
tetradic
#768628 #288667 #382886 #862847
square
#768628 #288667 #382886 #862847
split-complementary
#768628 #284786 #672886
monochromatic
#23280C #4C571A #768628 #A0B536 #BACE5B

Accessibility & contrast

On white

4.03
#768628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#768628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768628
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768628#FFFFFF#000000##000000
##7686281.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E1A
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#7D7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #768628;
/* rgb */ color: rgb(118, 134, 40);
/* oklch */ color: oklch(58.8% 0.119 118.6);
Tailwind
colors: {
  custom: {
    50: '#a0a968',
    500: '#768628',
    950: '#000000',
  },
}
SCSS
$custom: #768628;
$custom-light: #a0a968;
$custom-dark: #000000;
JSON
{
  "hex": "#768628",
  "rgb": {
    "r": 118,
    "g": 134,
    "b": 40
  },
  "hsl": {
    "h": 70.213,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58832,
    "c": 0.11875,
    "h": 118.6
  },
  "luminance": 0.21055
}

Semantic roles & 50–950 ramp

primary
#768628
secondary
#6657B3
accent
#4ADD63
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #768628

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

Preview Lab → · Contrast checker → · Palette generator →

#768628 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva