#768E2C#768E2C

#768E2C is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.8% C 0.126 H 122.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#768E2C
RGBrgb(118, 142, 44)
HSLhsl(75, 53%, 36%)
HSVhsv(75, 69%, 56%)
CMYKcmyk(16.9%, 0%, 69%, 44.3%)
CIE-LABlab(55.46, -23.04, 47.24)
CIE-LCHlch(55.46, 52.56, 116.00°)
OKLaboklab(60.82% -0.067 0.1067)
OKLCHoklch(60.82% 0.126 122.1)
XYZxyz(17.5991, 23.3794, 5.9679)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768E2C #442C8E
analogous
#8E752C #768E2C #458E2C
triadic
#768E2C #2C768E #8E2C76
tetradic
#768E2C #2C8E75 #442C8E #8E2C45
square
#768E2C #2C8E75 #442C8E #8E2C45
split-complementary
#768E2C #2C458E #752C8E
monochromatic
#28310F #4F5F1E #768E2C #9DBD3A #B5CF65

Accessibility & contrast

On white

3.70
#768E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#768E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768E2C
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768E2C#FFFFFF#000000##000000
##768E2C1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851E
Deuteranopia (green-blind)
#938534
Tritanopia (blue-blind)
#7C877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768e2c;
/* rgb */ color: rgb(118, 142, 44);
/* oklch */ color: oklch(60.8% 0.126 122.1);
Tailwind
colors: {
  custom: {
    50: '#a0af6b',
    500: '#768e2c',
    950: '#000000',
  },
}
SCSS
$custom: #768e2c;
$custom-light: #a0af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#768e2c",
  "rgb": {
    "r": 118,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 74.694,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60816,
    "c": 0.12602,
    "h": 122.1
  },
  "luminance": 0.23379
}

Semantic roles & 50–950 ramp

primary
#768E2C
secondary
#7560B6
accent
#4CDC6F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #768E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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