#768F27#768F27

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

Color values

HEX#768F27
RGBrgb(118, 143, 39)
HSLhsl(74, 57%, 36%)
HSVhsv(74, 73%, 56%)
CMYKcmyk(17.5%, 0%, 72.7%, 43.9%)
CIE-LABlab(55.73, -23.86, 49.50)
CIE-LCHlch(55.73, 54.96, 115.73°)
OKLaboklab(61.02% -0.0697 0.1107)
OKLCHoklch(61.02% 0.131 122.2)
XYZxyz(17.6601, 23.6429, 5.5522)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F27 #40278F
analogous
#8F7427 #768F27 #428F27
triadic
#768F27 #27768F #8F2776
tetradic
#768F27 #278F74 #40278F #8F2742
square
#768F27 #278F74 #40278F #8F2742
split-complementary
#768F27 #27428F #74278F
monochromatic
#272F0D #4E5F1A #768F27 #9EBF34 #B7D35D

Accessibility & contrast

On white

3.67
#768F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##768F27#FFFFFF#000000##000000
##768F271.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988615
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#7C887B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768f27;
/* rgb */ color: rgb(118, 143, 39);
/* oklch */ color: oklch(61.0% 0.131 122.2);
Tailwind
colors: {
  custom: {
    50: '#a0af68',
    500: '#768f27',
    950: '#000000',
  },
}
SCSS
$custom: #768f27;
$custom-light: #a0af68;
$custom-dark: #000000;
JSON
{
  "hex": "#768f27",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 74.423,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61021,
    "c": 0.13082,
    "h": 122.2
  },
  "luminance": 0.23643
}

Semantic roles & 50–950 ramp

primary
#768F27
secondary
#705AB8
accent
#47E06C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768F27

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

Preview Lab → · Contrast checker → · Palette generator →

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