#766F0F#766F0F

#766F0F is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.2% C 0.108 H 104.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#766F0F
RGBrgb(118, 111, 15)
HSLhsl(56, 77%, 26%)
HSVhsv(56, 87%, 46%)
CMYKcmyk(0%, 5.9%, 87.3%, 53.7%)
CIE-LABlab(45.98, -7.96, 48.55)
CIE-LCHlch(45.98, 49.20, 99.31°)
OKLaboklab(53.16% -0.0278 0.1042)
OKLCHoklch(53.16% 0.108 104.9)
XYZxyz(13.2425, 15.2555, 2.6989)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766F0F #0F1676
analogous
#763B0F #766F0F #49760F
triadic
#766F0F #0F766F #6F0F76
tetradic
#766F0F #0F763B #0F1676 #760F49
square
#766F0F #0F763B #0F1676 #760F49
split-complementary
#766F0F #0F4976 #3B0F76
monochromatic
#1B1A03 #403C08 #766F0F #ACA216 #E2D51D

Accessibility & contrast

On white

5.18
#766F0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#766F0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766F0F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766F0F#FFFFFF#000000##FFFFFF
##766F0F1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7C6F18
Tritanopia (blue-blind)
#80675E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #766f0f;
/* rgb */ color: rgb(118, 111, 15);
/* oklch */ color: oklch(53.2% 0.108 104.9);
Tailwind
colors: {
  custom: {
    50: '#a19859',
    500: '#766f0f',
    950: '#000000',
  },
}
SCSS
$custom: #766f0f;
$custom-light: #a19859;
$custom-dark: #000000;
JSON
{
  "hex": "#766f0f",
  "rgb": {
    "r": 118,
    "g": 111,
    "b": 15
  },
  "hsl": {
    "h": 55.922,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.53161,
    "c": 0.10781,
    "h": 104.9
  },
  "luminance": 0.15255
}

Semantic roles & 50–950 ramp

primary
#766F0F
secondary
#333CAD
accent
#41F434
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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