#768115#768115

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

Color values

HEX#768115
RGBrgb(118, 129, 21)
HSLhsl(66, 72%, 29%)
HSVhsv(66, 84%, 51%)
CMYKcmyk(8.5%, 0%, 83.7%, 49.4%)
CIE-LABlab(51.39, -17.55, 51.53)
CIE-LCHlch(51.39, 54.44, 108.81°)
OKLaboklab(57.5% -0.0539 0.1118)
OKLCHoklch(57.5% 0.124 115.7)
XYZxyz(15.4573, 19.6065, 3.6795)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768115 #201581
analogous
#815615 #768115 #408115
triadic
#768115 #157681 #811576
tetradic
#768115 #158156 #201581 #811540
square
#768115 #158156 #201581 #811540
split-complementary
#768115 #154081 #561581
monochromatic
#181A04 #464C0C #768115 #A6B61E #CCDE33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##768115#FFFFFF#000000##000000
##7681151.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)
#8A7B20
Tritanopia (blue-blind)
#7E796E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #768115;
/* rgb */ color: rgb(118, 129, 21);
/* oklch */ color: oklch(57.5% 0.124 115.7);
Tailwind
colors: {
  custom: {
    50: '#a1a55e',
    500: '#768115',
    950: '#000000',
  },
}
SCSS
$custom: #768115;
$custom-light: #a1a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#768115",
  "rgb": {
    "r": 118,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 66.111,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57495,
    "c": 0.12407,
    "h": 115.7
  },
  "luminance": 0.19606
}

Semantic roles & 50–950 ramp

primary
#768115
secondary
#483CB6
accent
#39EF4C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768115

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

Preview Lab → · Contrast checker → · Palette generator →

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