#768F2D#768F2D

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

Color values

HEX#768F2D
RGBrgb(118, 143, 45)
HSLhsl(75, 52%, 37%)
HSVhsv(75, 69%, 56%)
CMYKcmyk(17.5%, 0%, 68.5%, 43.9%)
CIE-LABlab(55.77, -23.47, 47.14)
CIE-LCHlch(55.77, 52.66, 116.47°)
OKLaboklab(61.07% -0.0681 0.1067)
OKLCHoklch(61.07% 0.127 122.6)
XYZxyz(17.7675, 23.6859, 6.1179)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F2D #462D8F
analogous
#8F772D #768F2D #458F2D
triadic
#768F2D #2D768F #8F2D76
tetradic
#768F2D #2D8F77 #462D8F #8F2D45
square
#768F2D #2D8F77 #462D8F #8F2D45
split-complementary
#768F2D #2D458F #772D8F
monochromatic
#293210 #50601E #768F2D #9CBE3C #B5CF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #768f2d;
/* rgb */ color: rgb(118, 143, 45);
/* oklch */ color: oklch(61.1% 0.127 122.6);
Tailwind
colors: {
  custom: {
    50: '#a0af6c',
    500: '#768f2d',
    950: '#000000',
  },
}
SCSS
$custom: #768f2d;
$custom-light: #a0af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#768f2d",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 75.306,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6107,
    "c": 0.12656,
    "h": 122.6
  },
  "luminance": 0.23686
}

Semantic roles & 50–950 ramp

primary
#768F2D
secondary
#7762B6
accent
#4CDC71
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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