#766715#766715

#766715 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.3% C 0.098 H 98.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#766715
RGBrgb(118, 103, 21)
HSLhsl(51, 70%, 27%)
HSVhsv(51, 82%, 46%)
CMYKcmyk(0%, 12.7%, 82.2%, 53.7%)
CIE-LABlab(43.66, -3.19, 44.69)
CIE-LCHlch(43.66, 44.81, 94.08°)
OKLaboklab(51.33% -0.0139 0.0971)
OKLCHoklch(51.33% 0.098 98.1)
XYZxyz(12.4575, 13.6068, 2.6795)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766715 #152476
analogous
#763715 #766715 #547615
triadic
#766715 #157667 #671576
tetradic
#766715 #157637 #152476 #761554
square
#766715 #157637 #152476 #761554
split-complementary
#766715 #155476 #371576
monochromatic
#1A1705 #423A0C #766715 #AA941E #D9BF2C

Accessibility & contrast

On white

5.64
#766715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#766715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766715
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766715#FFFFFF#000000##FFFFFF
##7667151.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726402
Deuteranopia (green-blind)
#76691B
Tritanopia (blue-blind)
#805E58
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #766715;
/* rgb */ color: rgb(118, 103, 21);
/* oklch */ color: oklch(51.3% 0.098 98.1);
Tailwind
colors: {
  custom: {
    50: '#a1925a',
    500: '#766715',
    950: '#000000',
  },
}
SCSS
$custom: #766715;
$custom-light: #a1925a;
$custom-dark: #000000;
JSON
{
  "hex": "#766715",
  "rgb": {
    "r": 118,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 50.722,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51328,
    "c": 0.09807,
    "h": 98.1
  },
  "luminance": 0.13606
}

Semantic roles & 50–950 ramp

primary
#766715
secondary
#3B4CAC
accent
#57ED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766715

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

Preview Lab → · Contrast checker → · Palette generator →

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