#768D31#768D31

#768D31 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.6% C 0.121 H 122.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#768D31
RGBrgb(118, 141, 49)
HSLhsl(75, 48%, 37%)
HSVhsv(75, 65%, 55%)
CMYKcmyk(16.3%, 0%, 65.2%, 44.7%)
CIE-LABlab(55.20, -22.17, 44.82)
CIE-LCHlch(55.20, 50.00, 116.32°)
OKLaboklab(60.62% -0.0641 0.1024)
OKLCHoklch(60.62% 0.121 122)
XYZxyz(17.5507, 23.1230, 6.4437)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D31 #48318D
analogous
#8D7631 #768D31 #488D31
triadic
#768D31 #31768D #8D3176
tetradic
#768D31 #318D76 #48318D #8D3148
square
#768D31 #318D76 #48318D #8D3148
split-complementary
#768D31 #31488D #76318D
monochromatic
#2A3211 #506021 #768D31 #9CBA41 #B4CC6C

Accessibility & contrast

On white

3.73
#768D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#768D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768D31
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768D31#FFFFFF#000000##000000
##768D311.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958525
Deuteranopia (green-blind)
#928438
Tritanopia (blue-blind)
#7C867A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768d31;
/* rgb */ color: rgb(118, 141, 49);
/* oklch */ color: oklch(60.6% 0.121 122.0);
Tailwind
colors: {
  custom: {
    50: '#a0ae6e',
    500: '#768d31',
    950: '#000000',
  },
}
SCSS
$custom: #768d31;
$custom-light: #a0ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#768d31",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 75,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60618,
    "c": 0.12079,
    "h": 122
  },
  "luminance": 0.23123
}

Semantic roles & 50–950 ramp

primary
#768D31
secondary
#7A66B4
accent
#50D872
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768D31

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

Preview Lab → · Contrast checker → · Palette generator →

#768D31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva