#768338#768338

#768338 is a mid, moderate yellow-green. Relative luminance 0.204; OKLCH L 58.3% C 0.101 H 117.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#768338
RGBrgb(118, 131, 56)
HSLhsl(70, 40%, 37%)
HSVhsv(70, 57%, 51%)
CMYKcmyk(9.9%, 0%, 57.3%, 48.6%)
CIE-LABlab(52.25, -16.39, 38.27)
CIE-LCHlch(52.25, 41.64, 113.18°)
OKLaboklab(58.27% -0.0472 0.0894)
OKLCHoklch(58.27% 0.101 117.9)
XYZxyz(16.3016, 20.3698, 6.8136)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768338 #453883
analogous
#836B38 #768338 #518338
triadic
#768338 #387683 #833876
tetradic
#768338 #38836B #453883 #833851
square
#768338 #38836B #453883 #833851
split-complementary
#768338 #385183 #6B3883
monochromatic
#292D13 #4F5826 #768338 #9DAE4A #B5C372

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768338#FFFFFF#000000##000000
##7683381.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)
#8B7C30
Deuteranopia (green-blind)
#8A7D3C
Tritanopia (blue-blind)
#7C7C72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #768338;
/* rgb */ color: rgb(118, 131, 56);
/* oklch */ color: oklch(58.3% 0.101 117.9);
Tailwind
colors: {
  custom: {
    50: '#9fa771',
    500: '#768338',
    950: '#000000',
  },
}
SCSS
$custom: #768338;
$custom-light: #9fa771;
$custom-dark: #000000;
JSON
{
  "hex": "#768338",
  "rgb": {
    "r": 118,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 70.4,
    "s": 40.107,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58272,
    "c": 0.10106,
    "h": 117.9
  },
  "luminance": 0.2037
}

Semantic roles & 50–950 ramp

primary
#768338
secondary
#766BAC
accent
#58D06D
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #768338

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

Preview Lab → · Contrast checker → · Palette generator →

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