#768C31#768C31

#768C31 is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.4% C 0.119 H 121.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#768C31
RGBrgb(118, 140, 49)
HSLhsl(75, 48%, 37%)
HSVhsv(75, 65%, 55%)
CMYKcmyk(15.7%, 0%, 65%, 45.1%)
CIE-LABlab(54.90, -21.66, 44.49)
CIE-LCHlch(54.90, 49.49, 115.96°)
OKLaboklab(60.37% -0.0627 0.1017)
OKLCHoklch(60.37% 0.119 121.6)
XYZxyz(17.4039, 22.8295, 6.3948)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768C31 #47318C
analogous
#8C7431 #768C31 #498C31
triadic
#768C31 #31768C #8C3176
tetradic
#768C31 #318C74 #47318C #8C3149
square
#768C31 #318C74 #47318C #8C3149
split-complementary
#768C31 #31498C #74318C
monochromatic
#2A3111 #505F21 #768C31 #9CB941 #B4CC6C

Accessibility & contrast

On white

3.77
#768C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#768C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768C31
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768C31#FFFFFF#000000##000000
##768C311.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948426
Deuteranopia (green-blind)
#918338
Tritanopia (blue-blind)
#7C8579
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #768c31;
/* rgb */ color: rgb(118, 140, 49);
/* oklch */ color: oklch(60.4% 0.119 121.6);
Tailwind
colors: {
  custom: {
    50: '#a0ad6e',
    500: '#768c31',
    950: '#000000',
  },
}
SCSS
$custom: #768c31;
$custom-light: #a0ad6e;
$custom-dark: #000000;
JSON
{
  "hex": "#768c31",
  "rgb": {
    "r": 118,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 74.505,
    "s": 48.148,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60374,
    "c": 0.11946,
    "h": 121.6
  },
  "luminance": 0.22829
}

Semantic roles & 50–950 ramp

primary
#768C31
secondary
#7866B3
accent
#50D871
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768C31

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

Preview Lab → · Contrast checker → · Palette generator →

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