#766C0F#766C0F

#766C0F is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.5% C 0.105 H 102.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#766C0F
RGBrgb(118, 108, 15)
HSLhsl(54, 77%, 26%)
HSVhsv(54, 87%, 46%)
CMYKcmyk(0%, 8.5%, 87.3%, 53.7%)
CIE-LABlab(45.10, -6.26, 47.81)
CIE-LCHlch(45.10, 48.22, 97.46°)
OKLaboklab(52.46% -0.023 0.1026)
OKLCHoklch(52.46% 0.105 102.7)
XYZxyz(12.9206, 14.6118, 2.5916)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766C0F #0F1976
analogous
#76380F #766C0F #4C760F
triadic
#766C0F #0F766C #6C0F76
tetradic
#766C0F #0F7638 #0F1976 #760F4C
square
#766C0F #0F7638 #0F1976 #760F4C
split-complementary
#766C0F #0F4C76 #380F76
monochromatic
#1B1903 #403A08 #766C0F #AC9E16 #E2CF1D

Accessibility & contrast

On white

5.35
#766C0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#766C0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766C0F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766C0F#FFFFFF#000000##FFFFFF
##766C0F1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#7A6D18
Tritanopia (blue-blind)
#80635C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #766c0f;
/* rgb */ color: rgb(118, 108, 15);
/* oklch */ color: oklch(52.5% 0.105 102.7);
Tailwind
colors: {
  custom: {
    50: '#a19559',
    500: '#766c0f',
    950: '#000000',
  },
}
SCSS
$custom: #766c0f;
$custom-light: #a19559;
$custom-dark: #000000;
JSON
{
  "hex": "#766c0f",
  "rgb": {
    "r": 118,
    "g": 108,
    "b": 15
  },
  "hsl": {
    "h": 54.175,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.1051,
    "h": 102.7
  },
  "luminance": 0.14611
}

Semantic roles & 50–950 ramp

primary
#766C0F
secondary
#333FAD
accent
#46F434
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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