#768F1D#768F1D

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

Color values

HEX#768F1D
RGBrgb(118, 143, 29)
HSLhsl(73, 66%, 34%)
HSVhsv(73, 80%, 56%)
CMYKcmyk(17.5%, 0%, 79.7%, 43.9%)
CIE-LABlab(55.67, -24.39, 52.96)
CIE-LCHlch(55.67, 58.30, 114.73°)
OKLaboklab(60.96% -0.072 0.1162)
OKLCHoklch(60.96% 0.137 121.8)
XYZxyz(17.5157, 23.5852, 4.7918)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F1D #361D8F
analogous
#8F6F1D #768F1D #3D8F1D
triadic
#768F1D #1D768F #8F1D76
tetradic
#768F1D #1D8F6F #361D8F #8F1D3D
square
#768F1D #1D8F6F #361D8F #8F1D3D
split-complementary
#768F1D #1D3D8F #6F1D8F
monochromatic
#222908 #4C5C13 #768F1D #A0C227 #BBDB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768F1D#FFFFFF#000000##000000
##768F1D1.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)
#988600
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#7D877A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768f1d;
/* rgb */ color: rgb(118, 143, 29);
/* oklch */ color: oklch(61.0% 0.137 121.8);
Tailwind
colors: {
  custom: {
    50: '#a1af64',
    500: '#768f1d',
    950: '#000000',
  },
}
SCSS
$custom: #768f1d;
$custom-light: #a1af64;
$custom-dark: #000000;
JSON
{
  "hex": "#768f1d",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 73.158,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60955,
    "c": 0.13674,
    "h": 121.8
  },
  "luminance": 0.23585
}

Semantic roles & 50–950 ramp

primary
#768F1D
secondary
#644BBD
accent
#3FE964
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #768F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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