#768336#768336

#768336 is a mid, moderate yellow-green. Relative luminance 0.203; OKLCH L 58.2% C 0.103 H 117.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#768336
RGBrgb(118, 131, 54)
HSLhsl(70, 42%, 36%)
HSVhsv(70, 59%, 51%)
CMYKcmyk(9.9%, 0%, 58.8%, 48.6%)
CIE-LABlab(52.23, -16.57, 39.23)
CIE-LCHlch(52.23, 42.59, 112.90°)
OKLaboklab(58.25% -0.0479 0.0912)
OKLCHoklch(58.25% 0.103 117.7)
XYZxyz(16.2536, 20.3506, 6.5611)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768336 #433683
analogous
#836A36 #768336 #508336
triadic
#768336 #367683 #833676
tetradic
#768336 #36836A #433683 #833650
square
#768336 #36836A #433683 #833650
split-complementary
#768336 #365083 #6A3683
monochromatic
#282C12 #4F5824 #768336 #9DAE48 #B6C470

Accessibility & contrast

On white

4.14
#768336 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#768336 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768336
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768336#FFFFFF#000000##000000
##7683361.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C2E
Deuteranopia (green-blind)
#8A7D3B
Tritanopia (blue-blind)
#7D7C72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #768336;
/* rgb */ color: rgb(118, 131, 54);
/* oklch */ color: oklch(58.2% 0.103 117.7);
Tailwind
colors: {
  custom: {
    50: '#9fa770',
    500: '#768336',
    950: '#000000',
  },
}
SCSS
$custom: #768336;
$custom-light: #9fa770;
$custom-dark: #000000;
JSON
{
  "hex": "#768336",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 70.13,
    "s": 41.622,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.10301,
    "h": 117.7
  },
  "luminance": 0.2035
}

Semantic roles & 50–950 ramp

primary
#768336
secondary
#7468AC
accent
#56D16B
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #768336

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

Preview Lab → · Contrast checker → · Palette generator →

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