#768F12#768F12

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

Color values

HEX#768F12
RGBrgb(118, 143, 18)
HSLhsl(72, 78%, 32%)
HSVhsv(72, 87%, 56%)
CMYKcmyk(17.5%, 0%, 87.4%, 43.9%)
CIE-LABlab(55.62, -24.80, 55.92)
CIE-LCHlch(55.62, 61.17, 113.92°)
OKLaboklab(60.9% -0.0739 0.1207)
OKLCHoklch(60.9% 0.142 121.5)
XYZxyz(17.4032, 23.5401, 4.1990)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768F12 #2B128F
analogous
#8F6A12 #768F12 #388F12
triadic
#768F12 #12768F #8F1276
tetradic
#768F12 #128F6A #2B128F #8F1238
square
#768F12 #128F6A #2B128F #8F1238
split-complementary
#768F12 #12388F #6A128F
monochromatic
#1C2204 #49590B #768F12 #A3C519 #C2E636

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768F12#FFFFFF#000000##000000
##768F121.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)
#958521
Tritanopia (blue-blind)
#7D8779
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #768f12;
/* rgb */ color: rgb(118, 143, 18);
/* oklch */ color: oklch(60.9% 0.142 121.5);
Tailwind
colors: {
  custom: {
    50: '#a1af5f',
    500: '#768f12',
    950: '#000000',
  },
}
SCSS
$custom: #768f12;
$custom-light: #a1af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#768f12",
  "rgb": {
    "r": 118,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 72,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60903,
    "c": 0.14154,
    "h": 121.5
  },
  "luminance": 0.2354
}

Semantic roles & 50–950 ramp

primary
#768F12
secondary
#553AC3
accent
#34F45A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768F12

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

Preview Lab → · Contrast checker → · Palette generator →

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