#768F2B#768F2B

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

Color values

HEX#768F2B
RGBrgb(118, 143, 43)
HSLhsl(75, 54%, 36%)
HSVhsv(75, 70%, 56%)
CMYKcmyk(17.5%, 0%, 69.9%, 43.9%)
CIE-LABlab(55.76, -23.61, 47.95)
CIE-LCHlch(55.76, 53.45, 116.21°)
OKLaboklab(61.05% -0.0687 0.1081)
OKLCHoklch(61.05% 0.128 122.4)
XYZxyz(17.7299, 23.6708, 5.9199)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F2B #442B8F
analogous
#8F762B #768F2B #448F2B
triadic
#768F2B #2B768F #8F2B76
tetradic
#768F2B #2B8F76 #442B8F #8F2B44
square
#768F2B #2B8F76 #442B8F #8F2B44
split-complementary
#768F2B #2B448F #762B8F
monochromatic
#28310F #4F601D #768F2B #9DBE39 #B5D064

Accessibility & contrast

On white

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

On black

5.73
#768F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768F2B
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768F2B#FFFFFF#000000##000000
##768F2B1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861C
Deuteranopia (green-blind)
#948633
Tritanopia (blue-blind)
#7C887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #768f2b;
/* rgb */ color: rgb(118, 143, 43);
/* oklch */ color: oklch(61.1% 0.128 122.4);
Tailwind
colors: {
  custom: {
    50: '#a0af6b',
    500: '#768f2b',
    950: '#000000',
  },
}
SCSS
$custom: #768f2b;
$custom-light: #a0af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#768f2b",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 75,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61052,
    "c": 0.12804,
    "h": 122.4
  },
  "luminance": 0.23671
}

Semantic roles & 50–950 ramp

primary
#768F2B
secondary
#755FB7
accent
#4BDD6F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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