#766915#766915

#766915 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.8% C 0.100 H 99.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#766915
RGBrgb(118, 105, 21)
HSLhsl(52, 70%, 27%)
HSVhsv(52, 82%, 46%)
CMYKcmyk(0%, 11%, 82.2%, 53.7%)
CIE-LABlab(44.25, -4.34, 45.22)
CIE-LCHlch(44.25, 45.43, 95.48°)
OKLaboklab(51.79% -0.0171 0.0982)
OKLCHoklch(51.79% 0.1 99.9)
XYZxyz(12.6588, 14.0095, 2.7466)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766915 #152276
analogous
#763915 #766915 #527615
triadic
#766915 #157669 #691576
tetradic
#766915 #157639 #152276 #761552
square
#766915 #157639 #152276 #761552
split-complementary
#766915 #155276 #391576
monochromatic
#1A1705 #423B0C #766915 #AA971E #D9C22C

Accessibility & contrast

On white

5.52
#766915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#766915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766915
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766915#FFFFFF#000000##FFFFFF
##7669151.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746601
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#806159
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #766915;
/* rgb */ color: rgb(118, 105, 21);
/* oklch */ color: oklch(51.8% 0.100 99.9);
Tailwind
colors: {
  custom: {
    50: '#a1935b',
    500: '#766915',
    950: '#000000',
  },
}
SCSS
$custom: #766915;
$custom-light: #a1935b;
$custom-dark: #000000;
JSON
{
  "hex": "#766915",
  "rgb": {
    "r": 118,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 51.959,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.5179,
    "c": 0.09968,
    "h": 99.9
  },
  "luminance": 0.14009
}

Semantic roles & 50–950 ramp

primary
#766915
secondary
#3B4AAC
accent
#53ED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766915

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

Preview Lab → · Contrast checker → · Palette generator →

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