#768438#768438

#768438 is a mid, moderate yellow-green. Relative luminance 0.206; OKLCH L 58.5% C 0.102 H 118.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#768438
RGBrgb(118, 132, 56)
HSLhsl(71, 40%, 37%)
HSVhsv(71, 58%, 52%)
CMYKcmyk(10.6%, 0%, 57.6%, 48.2%)
CIE-LABlab(52.55, -16.92, 38.62)
CIE-LCHlch(52.55, 42.16, 113.66°)
OKLaboklab(58.51% -0.0487 0.0901)
OKLCHoklch(58.51% 0.102 118.4)
XYZxyz(16.4365, 20.6397, 6.8586)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768438 #463884
analogous
#846C38 #768438 #508438
triadic
#768438 #387684 #843876
tetradic
#768438 #38846C #463884 #843850
square
#768438 #38846C #463884 #843850
split-complementary
#768438 #385084 #6C3884
monochromatic
#292E14 #505926 #768438 #9CAF4A #B5C473

Accessibility & contrast

On white

4.10
#768438 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#768438 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768438
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768438#FFFFFF#000000##000000
##7684381.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D30
Deuteranopia (green-blind)
#8A7E3D
Tritanopia (blue-blind)
#7C7D73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #768438;
/* rgb */ color: rgb(118, 132, 56);
/* oklch */ color: oklch(58.5% 0.102 118.4);
Tailwind
colors: {
  custom: {
    50: '#9fa771',
    500: '#768438',
    950: '#000000',
  },
}
SCSS
$custom: #768438;
$custom-light: #9fa771;
$custom-dark: #000000;
JSON
{
  "hex": "#768438",
  "rgb": {
    "r": 118,
    "g": 132,
    "b": 56
  },
  "hsl": {
    "h": 71.053,
    "s": 40.426,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58512,
    "c": 0.10242,
    "h": 118.4
  },
  "luminance": 0.2064
}

Semantic roles & 50–950 ramp

primary
#768438
secondary
#776BAC
accent
#58D06E
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #768438

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

Preview Lab → · Contrast checker → · Palette generator →

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