#767815#767815

#767815 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.3% C 0.114 H 110.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#767815
RGBrgb(118, 120, 21)
HSLhsl(61, 70%, 28%)
HSVhsv(61, 83%, 47%)
CMYKcmyk(1.7%, 0%, 82.5%, 52.9%)
CIE-LABlab(48.68, -12.73, 49.16)
CIE-LCHlch(48.68, 50.78, 104.52°)
OKLaboklab(55.33% -0.0406 0.1067)
OKLCHoklch(55.33% 0.114 110.8)
XYZxyz(14.3236, 17.3390, 3.3016)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767815 #171578
analogous
#784815 #767815 #457815
triadic
#767815 #157678 #781576
tetradic
#767815 #157848 #171578 #781545
square
#767815 #157848 #171578 #781545
split-complementary
#767815 #154578 #481578
monochromatic
#1A1A05 #43440C #767815 #A9AC1E #D7DA2D

Accessibility & contrast

On white

4.70
#767815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#767815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767815
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767815#FFFFFF#000000##FFFFFF
##7678151.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#7F7066
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #767815;
/* rgb */ color: rgb(118, 120, 21);
/* oklch */ color: oklch(55.3% 0.114 110.8);
Tailwind
colors: {
  custom: {
    50: '#a19e5d',
    500: '#767815',
    950: '#000000',
  },
}
SCSS
$custom: #767815;
$custom-light: #a19e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#767815",
  "rgb": {
    "r": 118,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 61.212,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.11412,
    "h": 110.8
  },
  "luminance": 0.17339
}

Semantic roles & 50–950 ramp

primary
#767815
secondary
#3E3BAE
accent
#3BED3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #767815

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

Preview Lab → · Contrast checker → · Palette generator →

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