#768011#768011

#768011 is a mid, vivid yellow. Relative luminance 0.193; OKLCH L 57.2% C 0.125 H 115.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#768011
RGBrgb(118, 128, 17)
HSLhsl(65, 77%, 28%)
HSVhsv(65, 87%, 50%)
CMYKcmyk(7.8%, 0%, 86.7%, 49.8%)
CIE-LABlab(51.07, -17.16, 52.32)
CIE-LCHlch(51.07, 55.06, 108.16°)
OKLaboklab(57.24% -0.0531 0.1127)
OKLCHoklch(57.24% 0.125 115.2)
XYZxyz(15.2920, 19.3306, 3.4558)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768011 #1B1180
analogous
#805211 #768011 #3E8011
triadic
#768011 #117680 #801176
tetradic
#768011 #118052 #1B1180 #80113E
square
#768011 #118052 #1B1180 #80113E
split-complementary
#768011 #113E80 #521180
monochromatic
#191B04 #444A0A #768011 #A8B618 #D2E329

Accessibility & contrast

On white

4.32
#768011 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#768011 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768011
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768011#FFFFFF#000000##000000
##7680111.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#897A1D
Tritanopia (blue-blind)
#7E786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #768011;
/* rgb */ color: rgb(118, 128, 17);
/* oklch */ color: oklch(57.2% 0.125 115.2);
Tailwind
colors: {
  custom: {
    50: '#a1a45d',
    500: '#768011',
    950: '#000000',
  },
}
SCSS
$custom: #768011;
$custom-light: #a1a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#768011",
  "rgb": {
    "r": 118,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 65.405,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57235,
    "c": 0.12461,
    "h": 115.2
  },
  "luminance": 0.1933
}

Semantic roles & 50–950 ramp

primary
#768011
secondary
#4237B6
accent
#35F346
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768011

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

Preview Lab → · Contrast checker → · Palette generator →

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