#766D0F#766D0F

#766D0F is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.7% C 0.106 H 103.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#766D0F
RGBrgb(118, 109, 15)
HSLhsl(55, 77%, 26%)
HSVhsv(55, 87%, 46%)
CMYKcmyk(0%, 7.6%, 87.3%, 53.7%)
CIE-LABlab(45.39, -6.83, 48.06)
CIE-LCHlch(45.39, 48.54, 98.09°)
OKLaboklab(52.69% -0.0246 0.1031)
OKLCHoklch(52.69% 0.106 103.4)
XYZxyz(13.0267, 14.8239, 2.6270)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766D0F #0F1876
analogous
#76390F #766D0F #4B760F
triadic
#766D0F #0F766D #6D0F76
tetradic
#766D0F #0F7639 #0F1876 #760F4B
square
#766D0F #0F7639 #0F1876 #760F4B
split-complementary
#766D0F #0F4B76 #390F76
monochromatic
#1B1903 #403B08 #766D0F #AC9F16 #E2D11D

Accessibility & contrast

On white

5.30
#766D0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#766D0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766D0F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766D0F#FFFFFF#000000##FFFFFF
##766D0F1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#7B6D18
Tritanopia (blue-blind)
#80655C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #766d0f;
/* rgb */ color: rgb(118, 109, 15);
/* oklch */ color: oklch(52.7% 0.106 103.4);
Tailwind
colors: {
  custom: {
    50: '#a19659',
    500: '#766d0f',
    950: '#000000',
  },
}
SCSS
$custom: #766d0f;
$custom-light: #a19659;
$custom-dark: #000000;
JSON
{
  "hex": "#766d0f",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 15
  },
  "hsl": {
    "h": 54.757,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.10599,
    "h": 103.4
  },
  "luminance": 0.14823
}

Semantic roles & 50–950 ramp

primary
#766D0F
secondary
#333EAD
accent
#45F434
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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