#768431#768431

#768431 is a mid, moderate yellow-green. Relative luminance 0.206; OKLCH L 58.4% C 0.109 H 118.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#768431
RGBrgb(118, 132, 49)
HSLhsl(70, 46%, 35%)
HSVhsv(70, 63%, 52%)
CMYKcmyk(10.6%, 0%, 62.9%, 48.2%)
CIE-LABlab(52.48, -17.52, 41.88)
CIE-LCHlch(52.48, 45.40, 112.70°)
OKLaboklab(58.43% -0.0511 0.0962)
OKLCHoklch(58.43% 0.109 118)
XYZxyz(16.2771, 20.5760, 6.0192)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768431 #3F3184
analogous
#846831 #768431 #4D8431
triadic
#768431 #317684 #843176
tetradic
#768431 #318468 #3F3184 #84314D
square
#768431 #318468 #3F3184 #84314D
split-complementary
#768431 #314D84 #683184
monochromatic
#262B10 #4E5720 #768431 #9EB142 #B7C768

Accessibility & contrast

On white

4.11
#768431 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#768431 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768431
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768431#FFFFFF#000000##000000
##7684311.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D27
Deuteranopia (green-blind)
#8B7E36
Tritanopia (blue-blind)
#7D7D72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #768431;
/* rgb */ color: rgb(118, 132, 49);
/* oklch */ color: oklch(58.4% 0.109 118.0);
Tailwind
colors: {
  custom: {
    50: '#a0a76d',
    500: '#768431',
    950: '#000000',
  },
}
SCSS
$custom: #768431;
$custom-light: #a0a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#768431",
  "rgb": {
    "r": 118,
    "g": 132,
    "b": 49
  },
  "hsl": {
    "h": 70.12,
    "s": 45.856,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58433,
    "c": 0.10892,
    "h": 118
  },
  "luminance": 0.20576
}

Semantic roles & 50–950 ramp

primary
#768431
secondary
#6F62AE
accent
#52D668
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #768431

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

Preview Lab → · Contrast checker → · Palette generator →

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