#768D1C#768D1C

#768D1C is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 60.5% C 0.135 H 121.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#768D1C
RGBrgb(118, 141, 28)
HSLhsl(72, 67%, 33%)
HSVhsv(72, 80%, 55%)
CMYKcmyk(16.3%, 0%, 80.1%, 44.7%)
CIE-LABlab(55.06, -23.43, 52.71)
CIE-LCHlch(55.06, 57.69, 113.97°)
OKLaboklab(60.46% -0.0695 0.1155)
OKLCHoklch(60.46% 0.135 121)
XYZxyz(17.2060, 22.9852, 4.6285)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D1C #331C8D
analogous
#8D6B1C #768D1C #3E8D1C
triadic
#768D1C #1C768D #8D1C76
tetradic
#768D1C #1C8D6B #331C8D #8D1C3E
square
#768D1C #1C8D6B #331C8D #8D1C3E
split-complementary
#768D1C #1C3E8D #6B1C8D
monochromatic
#212708 #4B5A12 #768D1C #A1C026 #BDDB49

Accessibility & contrast

On white

3.75
#768D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#768D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768D1C
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768D1C#FFFFFF#000000##000000
##768D1C1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#938427
Tritanopia (blue-blind)
#7D8578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #768d1c;
/* rgb */ color: rgb(118, 141, 28);
/* oklch */ color: oklch(60.5% 0.135 121.0);
Tailwind
colors: {
  custom: {
    50: '#a1ae63',
    500: '#768d1c',
    950: '#000000',
  },
}
SCSS
$custom: #768d1c;
$custom-light: #a1ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#768d1c",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 72.212,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60458,
    "c": 0.13483,
    "h": 121
  },
  "luminance": 0.22985
}

Semantic roles & 50–950 ramp

primary
#768D1C
secondary
#6048BD
accent
#3EEA61
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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