#768034#768034

#768034 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.5% C 0.101 H 115.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#768034
RGBrgb(118, 128, 52)
HSLhsl(68, 42%, 35%)
HSVhsv(68, 59%, 50%)
CMYKcmyk(7.8%, 0%, 59.4%, 49.8%)
CIE-LABlab(51.31, -15.15, 39.17)
CIE-LCHlch(51.31, 41.99, 111.15°)
OKLaboklab(57.5% -0.0441 0.0908)
OKLCHoklch(57.5% 0.101 115.9)
XYZxyz(15.8105, 19.5380, 6.1865)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768034 #3E3480
analogous
#806434 #768034 #508034
triadic
#768034 #347680 #803476
tetradic
#768034 #348064 #3E3480 #803450
square
#768034 #348064 #3E3480 #803450
split-complementary
#768034 #345080 #643480
monochromatic
#262911 #4E5422 #768034 #9EAC46 #B7C36B

Accessibility & contrast

On white

4.28
#768034 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#768034 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768034
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768034#FFFFFF#000000##000000
##7680341.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887A2C
Deuteranopia (green-blind)
#887B39
Tritanopia (blue-blind)
#7D7970
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #768034;
/* rgb */ color: rgb(118, 128, 52);
/* oklch */ color: oklch(57.5% 0.101 115.9);
Tailwind
colors: {
  custom: {
    50: '#9fa46e',
    500: '#768034',
    950: '#000000',
  },
}
SCSS
$custom: #768034;
$custom-light: #9fa46e;
$custom-dark: #000000;
JSON
{
  "hex": "#768034",
  "rgb": {
    "r": 118,
    "g": 128,
    "b": 52
  },
  "hsl": {
    "h": 67.895,
    "s": 42.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57503,
    "c": 0.10095,
    "h": 115.9
  },
  "luminance": 0.19538
}

Semantic roles & 50–950 ramp

primary
#768034
secondary
#6E65AB
accent
#56D266
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #768034

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

Preview Lab → · Contrast checker → · Palette generator →

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