#766815#766815

#766815 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.6% C 0.099 H 99.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#766815
RGBrgb(118, 104, 21)
HSLhsl(51, 70%, 27%)
HSVhsv(51, 82%, 46%)
CMYKcmyk(0%, 11.9%, 82.2%, 53.7%)
CIE-LABlab(43.95, -3.77, 44.96)
CIE-LCHlch(43.95, 45.11, 94.79°)
OKLaboklab(51.56% -0.0155 0.0976)
OKLCHoklch(51.56% 0.099 99)
XYZxyz(12.5575, 13.8070, 2.7129)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766815 #152376
analogous
#763715 #766815 #547615
triadic
#766815 #157668 #681576
tetradic
#766815 #157637 #152376 #761554
square
#766815 #157637 #152376 #761554
split-complementary
#766815 #155476 #371576
monochromatic
#1A1705 #423A0C #766815 #AA961E #D9C02C

Accessibility & contrast

On white

5.58
#766815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#766815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766815
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766815#FFFFFF#000000##FFFFFF
##7668151.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736502
Deuteranopia (green-blind)
#776A1B
Tritanopia (blue-blind)
#806059
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #766815;
/* rgb */ color: rgb(118, 104, 21);
/* oklch */ color: oklch(51.6% 0.099 99.0);
Tailwind
colors: {
  custom: {
    50: '#a1925b',
    500: '#766815',
    950: '#000000',
  },
}
SCSS
$custom: #766815;
$custom-light: #a1925b;
$custom-dark: #000000;
JSON
{
  "hex": "#766815",
  "rgb": {
    "r": 118,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 51.34,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51559,
    "c": 0.09886,
    "h": 99
  },
  "luminance": 0.13806
}

Semantic roles & 50–950 ramp

primary
#766815
secondary
#3B4BAC
accent
#55ED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0D04
muted
#7F7D79

Preview Lab

Preview with #766815

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

Preview Lab → · Contrast checker → · Palette generator →

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