#768F1A#768F1A

#768F1A is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.9% C 0.138 H 121.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#768F1A
RGBrgb(118, 143, 26)
HSLhsl(73, 69%, 33%)
HSVhsv(73, 82%, 56%)
CMYKcmyk(17.5%, 0%, 81.8%, 43.9%)
CIE-LABlab(55.66, -24.52, 53.86)
CIE-LCHlch(55.66, 59.18, 114.48°)
OKLaboklab(60.94% -0.0726 0.1176)
OKLCHoklch(60.94% 0.138 121.7)
XYZxyz(17.4804, 23.5710, 4.6058)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F1A #331A8F
analogous
#8F6E1A #768F1A #3B8F1A
triadic
#768F1A #1A768F #8F1A76
tetradic
#768F1A #1A8F6E #331A8F #8F1A3B
square
#768F1A #1A8F6E #331A8F #8F1A3B
split-complementary
#768F1A #1A3B8F #6E1A8F
monochromatic
#212707 #4B5B11 #768F1A #A1C323 #BDDD46

Accessibility & contrast

On white

3.68
#768F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#768F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768F1A
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768F1A#FFFFFF#000000##000000
##768F1A1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#958526
Tritanopia (blue-blind)
#7D877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768f1a;
/* rgb */ color: rgb(118, 143, 26);
/* oklch */ color: oklch(60.9% 0.138 121.7);
Tailwind
colors: {
  custom: {
    50: '#a1af62',
    500: '#768f1a',
    950: '#000000',
  },
}
SCSS
$custom: #768f1a;
$custom-light: #a1af62;
$custom-dark: #000000;
JSON
{
  "hex": "#768f1a",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 72.821,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60939,
    "c": 0.13823,
    "h": 121.7
  },
  "luminance": 0.23571
}

Semantic roles & 50–950 ramp

primary
#768F1A
secondary
#6046BF
accent
#3CEC61
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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