#768817#768817

#768817 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.2% C 0.131 H 118.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#768817
RGBrgb(118, 136, 23)
HSLhsl(70, 71%, 31%)
HSVhsv(70, 83%, 53%)
CMYKcmyk(13.2%, 0%, 83.1%, 46.7%)
CIE-LABlab(53.52, -21.11, 52.83)
CIE-LCHlch(53.52, 56.89, 111.78°)
OKLaboklab(59.21% -0.0635 0.1149)
OKLCHoklch(59.21% 0.131 118.9)
XYZxyz(16.4304, 21.5219, 4.0990)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768817 #291788
analogous
#886117 #768817 #3D8817
triadic
#768817 #177688 #881776
tetradic
#768817 #178861 #291788 #88173D
square
#768817 #178861 #291788 #88173D
split-complementary
#768817 #173D88 #611788
monochromatic
#1B1F05 #49540E #768817 #A3BC20 #C4DE3B

Accessibility & contrast

On white

3.96
#768817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#768817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768817
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768817#FFFFFF#000000##000000
##7688171.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#7E8074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #768817;
/* rgb */ color: rgb(118, 136, 23);
/* oklch */ color: oklch(59.2% 0.131 118.9);
Tailwind
colors: {
  custom: {
    50: '#a1aa60',
    500: '#768817',
    950: '#000000',
  },
}
SCSS
$custom: #768817;
$custom-light: #a1aa60;
$custom-dark: #000000;
JSON
{
  "hex": "#768817",
  "rgb": {
    "r": 118,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 69.558,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.13128,
    "h": 118.9
  },
  "luminance": 0.21522
}

Semantic roles & 50–950 ramp

primary
#768817
secondary
#533FBC
accent
#3AEE57
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768817

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

Preview Lab → · Contrast checker → · Palette generator →

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