#768F2E#768F2E

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

Color values

HEX#768F2E
RGBrgb(118, 143, 46)
HSLhsl(75, 51%, 37%)
HSVhsv(75, 68%, 56%)
CMYKcmyk(17.5%, 0%, 67.8%, 43.9%)
CIE-LABlab(55.78, -23.40, 46.73)
CIE-LCHlch(55.78, 52.26, 116.60°)
OKLaboklab(61.08% -0.0678 0.106)
OKLCHoklch(61.08% 0.126 122.6)
XYZxyz(17.7870, 23.6937, 6.2205)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F2E #472E8F
analogous
#8F782E #768F2E #468F2E
triadic
#768F2E #2E768F #8F2E76
tetradic
#768F2E #2E8F78 #472E8F #8F2E46
square
#768F2E #2E8F78 #472E8F #8F2E46
split-complementary
#768F2E #2E468F #782E8F
monochromatic
#2A3210 #50611F #768F2E #9CBD3D #B4CF69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768F2E#FFFFFF#000000##000000
##768F2E1.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)
#978620
Deuteranopia (green-blind)
#948635
Tritanopia (blue-blind)
#7C887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #768f2e;
/* rgb */ color: rgb(118, 143, 46);
/* oklch */ color: oklch(61.1% 0.126 122.6);
Tailwind
colors: {
  custom: {
    50: '#a0af6c',
    500: '#768f2e',
    950: '#000000',
  },
}
SCSS
$custom: #768f2e;
$custom-light: #a0af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#768f2e",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 75.464,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61078,
    "c": 0.12581,
    "h": 122.6
  },
  "luminance": 0.23694
}

Semantic roles & 50–950 ramp

primary
#768F2E
secondary
#7863B6
accent
#4DDB72
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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