#768F28#768F28

#768F28 is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 61.0% C 0.130 H 122.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#768F28
RGBrgb(118, 143, 40)
HSLhsl(75, 56%, 36%)
HSVhsv(75, 72%, 56%)
CMYKcmyk(17.5%, 0%, 72%, 43.9%)
CIE-LABlab(55.74, -23.80, 49.13)
CIE-LCHlch(55.74, 54.59, 115.85°)
OKLaboklab(61.03% -0.0695 0.1101)
OKLCHoklch(61.03% 0.13 122.3)
XYZxyz(17.6769, 23.6496, 5.6406)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F28 #41288F
analogous
#8F7428 #768F28 #428F28
triadic
#768F28 #28768F #8F2876
tetradic
#768F28 #288F74 #41288F #8F2842
square
#768F28 #288F74 #41288F #8F2842
split-complementary
#768F28 #28428F #74288F
monochromatic
#272F0D #4F5F1B #768F28 #9DBF35 #B6D25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768F28#FFFFFF#000000##000000
##768F281.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)
#988617
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#7C887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #768f28;
/* rgb */ color: rgb(118, 143, 40);
/* oklch */ color: oklch(61.0% 0.130 122.3);
Tailwind
colors: {
  custom: {
    50: '#a0af69',
    500: '#768f28',
    950: '#000000',
  },
}
SCSS
$custom: #768f28;
$custom-light: #a0af69;
$custom-dark: #000000;
JSON
{
  "hex": "#768f28",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 74.563,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61028,
    "c": 0.13015,
    "h": 122.3
  },
  "luminance": 0.2365
}

Semantic roles & 50–950 ramp

primary
#768F28
secondary
#725BB8
accent
#48E06D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768F28

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

Preview Lab → · Contrast checker → · Palette generator →

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