#766A15#766A15

#766A15 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.0% C 0.101 H 100.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#766A15
RGBrgb(118, 106, 21)
HSLhsl(53, 70%, 27%)
HSVhsv(53, 82%, 46%)
CMYKcmyk(0%, 10.2%, 82.2%, 53.7%)
CIE-LABlab(44.54, -4.92, 45.48)
CIE-LCHlch(44.54, 45.74, 96.17°)
OKLaboklab(52.02% -0.0187 0.0988)
OKLCHoklch(52.02% 0.101 100.7)
XYZxyz(12.7612, 14.2144, 2.7808)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766A15 #152176
analogous
#763915 #766A15 #527615
triadic
#766A15 #15766A #6A1576
tetradic
#766A15 #157639 #152176 #761552
square
#766A15 #157639 #152176 #761552
split-complementary
#766A15 #155276 #391576
monochromatic
#1A1705 #423B0C #766A15 #AA991E #D9C42C

Accessibility & contrast

On white

5.46
#766A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#766A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766A15
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766A15#FFFFFF#000000##FFFFFF
##766A151.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756701
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#80625A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #766a15;
/* rgb */ color: rgb(118, 106, 21);
/* oklch */ color: oklch(52.0% 0.101 100.7);
Tailwind
colors: {
  custom: {
    50: '#a1945b',
    500: '#766a15',
    950: '#000000',
  },
}
SCSS
$custom: #766a15;
$custom-light: #a1945b;
$custom-dark: #000000;
JSON
{
  "hex": "#766a15",
  "rgb": {
    "r": 118,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 52.577,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.10052,
    "h": 100.7
  },
  "luminance": 0.14214
}

Semantic roles & 50–950 ramp

primary
#766A15
secondary
#3B49AC
accent
#51ED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766A15

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

Preview Lab → · Contrast checker → · Palette generator →

#766A15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva