#768116#768116

#768116 is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.5% C 0.124 H 115.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#768116
RGBrgb(118, 129, 22)
HSLhsl(66, 71%, 30%)
HSVhsv(66, 83%, 51%)
CMYKcmyk(8.5%, 0%, 82.9%, 49.4%)
CIE-LABlab(51.39, -17.51, 51.24)
CIE-LCHlch(51.39, 54.16, 108.87°)
OKLaboklab(57.5% -0.0537 0.1113)
OKLCHoklch(57.5% 0.124 115.8)
XYZxyz(15.4667, 19.6102, 3.7293)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768116 #211681
analogous
#815716 #768116 #418116
triadic
#768116 #167681 #811676
tetradic
#768116 #168157 #211681 #811641
square
#768116 #168157 #211681 #811641
split-complementary
#768116 #164181 #571681
monochromatic
#181A04 #464D0D #768116 #A6B51F #CBDD35

Accessibility & contrast

On white

4.27
#768116 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#768116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768116
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768116#FFFFFF#000000##000000
##7681161.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8A7B21
Tritanopia (blue-blind)
#7E796E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #768116;
/* rgb */ color: rgb(118, 129, 22);
/* oklch */ color: oklch(57.5% 0.124 115.8);
Tailwind
colors: {
  custom: {
    50: '#a1a55f',
    500: '#768116',
    950: '#000000',
  },
}
SCSS
$custom: #768116;
$custom-light: #a1a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#768116",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 66.168,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.575,
    "c": 0.12361,
    "h": 115.8
  },
  "luminance": 0.1961
}

Semantic roles & 50–950 ramp

primary
#768116
secondary
#4A3DB6
accent
#3AEE4D
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768116

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

Preview Lab → · Contrast checker → · Palette generator →

#768116 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva