#768015#768015

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

Color values

HEX#768015
RGBrgb(118, 128, 21)
HSLhsl(66, 72%, 29%)
HSVhsv(66, 84%, 50%)
CMYKcmyk(7.8%, 0%, 83.6%, 49.8%)
CIE-LABlab(51.09, -17.02, 51.26)
CIE-LCHlch(51.09, 54.02, 108.37°)
OKLaboklab(57.25% -0.0524 0.1112)
OKLCHoklch(57.25% 0.123 115.2)
XYZxyz(15.3262, 19.3443, 3.6358)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#768015 #1F1580
analogous
#805515 #768015 #418015
triadic
#768015 #157680 #801576
tetradic
#768015 #158055 #1F1580 #801541
square
#768015 #158055 #1F1580 #801541
split-complementary
#768015 #154180 #551580
monochromatic
#181A04 #464B0C #768015 #A6B51E #CDDD32

Accessibility & contrast

On white

4.31
#768015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##768015#FFFFFF#000000##000000
##7680151.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #768015;
/* rgb */ color: rgb(118, 128, 21);
/* oklch */ color: oklch(57.3% 0.123 115.2);
Tailwind
colors: {
  custom: {
    50: '#a1a45e',
    500: '#768015',
    950: '#000000',
  },
}
SCSS
$custom: #768015;
$custom-light: #a1a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#768015",
  "rgb": {
    "r": 118,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 65.607,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57252,
    "c": 0.12294,
    "h": 115.2
  },
  "luminance": 0.19344
}

Semantic roles & 50–950 ramp

primary
#768015
secondary
#473CB5
accent
#39EF4A
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #768015

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

Preview Lab → · Contrast checker → · Palette generator →

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