#768D12#768D12

#768D12 is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.4% C 0.139 H 120.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#768D12
RGBrgb(118, 141, 18)
HSLhsl(71, 77%, 31%)
HSVhsv(71, 87%, 55%)
CMYKcmyk(16.3%, 0%, 87.2%, 44.7%)
CIE-LABlab(55.02, -23.81, 55.41)
CIE-LCHlch(55.02, 60.30, 113.25°)
OKLaboklab(60.41% -0.0712 0.1196)
OKLCHoklch(60.41% 0.139 120.8)
XYZxyz(17.1056, 22.9450, 4.0998)
Luminance0.2294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768D12 #29128D
analogous
#8D6612 #768D12 #388D12
triadic
#768D12 #12768D #8D1276
tetradic
#768D12 #128D66 #29128D #8D1238
square
#768D12 #128D66 #29128D #8D1238
split-complementary
#768D12 #12388D #66128D
monochromatic
#1B2004 #49570B #768D12 #A3C319 #C4E534

Accessibility & contrast

On white

3.76
#768D12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#768D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768D12
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768D12#FFFFFF#000000##000000
##768D121.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #768d12;
/* rgb */ color: rgb(118, 141, 18);
/* oklch */ color: oklch(60.4% 0.139 120.8);
Tailwind
colors: {
  custom: {
    50: '#a1ae5f',
    500: '#768d12',
    950: '#000000',
  },
}
SCSS
$custom: #768d12;
$custom-light: #a1ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#768d12",
  "rgb": {
    "r": 118,
    "g": 141,
    "b": 18
  },
  "hsl": {
    "h": 71.22,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60412,
    "c": 0.13919,
    "h": 120.8
  },
  "luminance": 0.22945
}

Semantic roles & 50–950 ramp

primary
#768D12
secondary
#5339C1
accent
#34F458
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #768D12

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

Preview Lab → · Contrast checker → · Palette generator →

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