#768F31#768F31

#768F31 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.1% C 0.123 H 122.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#768F31
RGBrgb(118, 143, 49)
HSLhsl(76, 49%, 38%)
HSVhsv(76, 66%, 56%)
CMYKcmyk(17.5%, 0%, 65.7%, 43.9%)
CIE-LABlab(55.80, -23.18, 45.46)
CIE-LCHlch(55.80, 51.03, 117.01°)
OKLaboklab(61.11% -0.0669 0.1037)
OKLCHoklch(61.11% 0.123 122.8)
XYZxyz(17.8482, 23.7182, 6.5429)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F31 #4A318F
analogous
#8F7931 #768F31 #478F31
triadic
#768F31 #31768F #8F3176
tetradic
#768F31 #318F79 #4A318F #8F3147
square
#768F31 #318F79 #4A318F #8F3147
split-complementary
#768F31 #31478F #79318F
monochromatic
#2B3412 #506121 #768F31 #9CBD41 #B4CD6D

Accessibility & contrast

On white

3.66
#768F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#768F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768F31
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768F31#FFFFFF#000000##000000
##768F311.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978625
Deuteranopia (green-blind)
#948638
Tritanopia (blue-blind)
#7C887C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #768f31;
/* rgb */ color: rgb(118, 143, 49);
/* oklch */ color: oklch(61.1% 0.123 122.8);
Tailwind
colors: {
  custom: {
    50: '#a0af6e',
    500: '#768f31',
    950: '#000000',
  },
}
SCSS
$custom: #768f31;
$custom-light: #a0af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#768f31",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 75.957,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61106,
    "c": 0.12344,
    "h": 122.8
  },
  "luminance": 0.23718
}

Semantic roles & 50–950 ramp

primary
#768F31
secondary
#7C67B5
accent
#4FD974
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768F31

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

Preview Lab → · Contrast checker → · Palette generator →

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