#768815#768815

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

Color values

HEX#768815
RGBrgb(118, 136, 21)
HSLhsl(69, 73%, 31%)
HSVhsv(69, 85%, 53%)
CMYKcmyk(13.2%, 0%, 84.6%, 46.7%)
CIE-LABlab(53.51, -21.18, 53.37)
CIE-LCHlch(53.51, 57.42, 111.65°)
OKLaboklab(59.2% -0.0638 0.1157)
OKLCHoklch(59.2% 0.132 118.9)
XYZxyz(16.4111, 21.5141, 3.9974)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768815 #271588
analogous
#886015 #768815 #3D8815
triadic
#768815 #157688 #881576
tetradic
#768815 #158860 #271588 #88153D
square
#768815 #158860 #271588 #88153D
split-complementary
#768815 #153D88 #601588
monochromatic
#1A1E05 #48530D #768815 #A4BD1D #C6E037

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768815#FFFFFF#000000##000000
##7688151.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)
#8F8022
Tritanopia (blue-blind)
#7E8074
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #768815;
/* rgb */ color: rgb(118, 136, 21);
/* oklch */ color: oklch(59.2% 0.132 118.9);
Tailwind
colors: {
  custom: {
    50: '#a1aa5f',
    500: '#768815',
    950: '#000000',
  },
}
SCSS
$custom: #768815;
$custom-light: #a1aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#768815",
  "rgb": {
    "r": 118,
    "g": 136,
    "b": 21
  },
  "hsl": {
    "h": 69.391,
    "s": 73.248,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59199,
    "c": 0.13215,
    "h": 118.9
  },
  "luminance": 0.21514
}

Semantic roles & 50–950 ramp

primary
#768815
secondary
#513DBC
accent
#38F055
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #768815

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

Preview Lab → · Contrast checker → · Palette generator →

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