#766814#766814

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

Color values

HEX#766814
RGBrgb(118, 104, 20)
HSLhsl(51, 71%, 27%)
HSVhsv(51, 83%, 46%)
CMYKcmyk(0%, 11.9%, 83.1%, 53.7%)
CIE-LABlab(43.95, -3.81, 45.29)
CIE-LCHlch(43.95, 45.45, 94.80°)
OKLaboklab(51.55% -0.0157 0.0981)
OKLCHoklch(51.55% 0.099 99.1)
XYZxyz(12.5484, 13.8033, 2.6650)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766814 #142276
analogous
#763714 #766814 #537614
triadic
#766814 #147668 #681476
tetradic
#766814 #147637 #142276 #761453
square
#766814 #147637 #142276 #761453
split-complementary
#766814 #145376 #371476
monochromatic
#1A1704 #423A0B #766814 #AA961D #DBC22A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##766814#FFFFFF#000000##FFFFFF
##7668141.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)
#736500
Deuteranopia (green-blind)
#776A1A
Tritanopia (blue-blind)
#805F58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #766814;
/* rgb */ color: rgb(118, 104, 20);
/* oklch */ color: oklch(51.6% 0.099 99.1);
Tailwind
colors: {
  custom: {
    50: '#a1925a',
    500: '#766814',
    950: '#000000',
  },
}
SCSS
$custom: #766814;
$custom-light: #a1925a;
$custom-dark: #000000;
JSON
{
  "hex": "#766814",
  "rgb": {
    "r": 118,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 51.429,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51553,
    "c": 0.09939,
    "h": 99.1
  },
  "luminance": 0.13803
}

Semantic roles & 50–950 ramp

primary
#766814
secondary
#3A4AAC
accent
#54EE3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0D04
muted
#7F7D79

Preview Lab

Preview with #766814

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

Preview Lab → · Contrast checker → · Palette generator →

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