#768F1F#768F1F

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

Color values

HEX#768F1F
RGBrgb(118, 143, 31)
HSLhsl(73, 64%, 34%)
HSVhsv(73, 78%, 56%)
CMYKcmyk(17.5%, 0%, 78.3%, 43.9%)
CIE-LABlab(55.68, -24.30, 52.32)
CIE-LCHlch(55.68, 57.69, 114.91°)
OKLaboklab(60.97% -0.0716 0.1152)
OKLCHoklch(60.97% 0.136 121.9)
XYZxyz(17.5413, 23.5954, 4.9263)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F1F #381F8F
analogous
#8F701F #768F1F #3E8F1F
triadic
#768F1F #1F768F #8F1F76
tetradic
#768F1F #1F8F70 #381F8F #8F1F3E
square
#768F1F #1F8F70 #381F8F #8F1F3E
split-complementary
#768F1F #1F3E8F #701F8F
monochromatic
#232A09 #4C5D14 #768F1F #A0C12A #BAD94F

Accessibility & contrast

On white

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

On black

5.72
#768F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768F1F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768F1F#FFFFFF#000000##000000
##768F1F1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988602
Deuteranopia (green-blind)
#95852A
Tritanopia (blue-blind)
#7D877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768f1f;
/* rgb */ color: rgb(118, 143, 31);
/* oklch */ color: oklch(61.0% 0.136 121.9);
Tailwind
colors: {
  custom: {
    50: '#a1af64',
    500: '#768f1f',
    950: '#000000',
  },
}
SCSS
$custom: #768f1f;
$custom-light: #a1af64;
$custom-dark: #000000;
JSON
{
  "hex": "#768f1f",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 73.393,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60966,
    "c": 0.13569,
    "h": 121.9
  },
  "luminance": 0.23595
}

Semantic roles & 50–950 ramp

primary
#768F1F
secondary
#664EBC
accent
#40E766
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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