#768819#768819

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

Color values

HEX#768819
RGBrgb(118, 136, 25)
HSLhsl(70, 69%, 32%)
HSVhsv(70, 82%, 53%)
CMYKcmyk(13.2%, 0%, 81.6%, 46.7%)
CIE-LABlab(53.52, -21.03, 52.25)
CIE-LCHlch(53.52, 56.32, 111.92°)
OKLaboklab(59.22% -0.0631 0.114)
OKLCHoklch(59.22% 0.13 119)
XYZxyz(16.4512, 21.5302, 4.2086)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768819 #2B1988
analogous
#886319 #768819 #3F8819
triadic
#768819 #197688 #881976
tetradic
#768819 #198863 #2B1988 #88193F
square
#768819 #198863 #2B1988 #88193F
split-complementary
#768819 #193F88 #631988
monochromatic
#1C2106 #49540F #768819 #A3BC23 #C2DC40

Accessibility & contrast

On white

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

On black

5.31
#768819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #768819
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##768819#FFFFFF#000000##000000
##7688191.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #768819;
/* rgb */ color: rgb(118, 136, 25);
/* oklch */ color: oklch(59.2% 0.130 119.0);
Tailwind
colors: {
  custom: {
    50: '#a1aa61',
    500: '#768819',
    950: '#000000',
  },
}
SCSS
$custom: #768819;
$custom-light: #a1aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#768819",
  "rgb": {
    "r": 118,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 69.73,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59218,
    "c": 0.13034,
    "h": 119
  },
  "luminance": 0.2153
}

Semantic roles & 50–950 ramp

primary
#768819
secondary
#5541BB
accent
#3CEC59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #768819

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

Preview Lab → · Contrast checker → · Palette generator →

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