#766813#766813

#766813 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.5% C 0.100 H 99.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#766813
RGBrgb(118, 104, 19)
HSLhsl(52, 72%, 27%)
HSVhsv(52, 84%, 46%)
CMYKcmyk(0%, 11.9%, 83.9%, 53.7%)
CIE-LABlab(43.94, -3.84, 45.62)
CIE-LCHlch(43.94, 45.78, 94.82°)
OKLaboklab(51.55% -0.0159 0.0986)
OKLCHoklch(51.55% 0.1 99.2)
XYZxyz(12.5397, 13.7998, 2.6191)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766813 #132176
analogous
#763713 #766813 #537613
triadic
#766813 #137668 #681376
tetradic
#766813 #137637 #132176 #761353
square
#766813 #137637 #132176 #761353
split-complementary
#766813 #135376 #371376
monochromatic
#1A1704 #413A0B #766813 #AB961B #DCC327

Accessibility & contrast

On white

5.59
#766813 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #766813
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766813#FFFFFF#000000##FFFFFF
##7668131.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#776A1A
Tritanopia (blue-blind)
#805F58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #766813;
/* rgb */ color: rgb(118, 104, 19);
/* oklch */ color: oklch(51.5% 0.100 99.2);
Tailwind
colors: {
  custom: {
    50: '#a1925a',
    500: '#766813',
    950: '#000000',
  },
}
SCSS
$custom: #766813;
$custom-light: #a1925a;
$custom-dark: #000000;
JSON
{
  "hex": "#766813",
  "rgb": {
    "r": 118,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 51.515,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51547,
    "c": 0.0999,
    "h": 99.2
  },
  "luminance": 0.13799
}

Semantic roles & 50–950 ramp

primary
#766813
secondary
#3949AC
accent
#53EF39
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0D04
muted
#7F7D79

Preview Lab

Preview with #766813

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

Preview Lab → · Contrast checker → · Palette generator →

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