#766D12#766D12

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

Color values

HEX#766D12
RGBrgb(118, 109, 18)
HSLhsl(55, 74%, 27%)
HSVhsv(55, 85%, 46%)
CMYKcmyk(0%, 7.6%, 84.7%, 53.7%)
CIE-LABlab(45.40, -6.73, 47.21)
CIE-LCHlch(45.40, 47.68, 98.12°)
OKLaboklab(52.71% -0.0241 0.1019)
OKLCHoklch(52.71% 0.105 103.3)
XYZxyz(13.0497, 14.8331, 2.7478)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766D12 #121B76
analogous
#763B12 #766D12 #4D7612
triadic
#766D12 #12766D #6D1276
tetradic
#766D12 #12763B #121B76 #76124D
square
#766D12 #12763B #121B76 #76124D
split-complementary
#766D12 #124D76 #3B1276
monochromatic
#1B1904 #413C0A #766D12 #AB9E1A #DECD25

Accessibility & contrast

On white

5.29
#766D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#766D12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766D12
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766D12#FFFFFF#000000##FFFFFF
##766D121.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #766d12;
/* rgb */ color: rgb(118, 109, 18);
/* oklch */ color: oklch(52.7% 0.105 103.3);
Tailwind
colors: {
  custom: {
    50: '#a1965a',
    500: '#766d12',
    950: '#000000',
  },
}
SCSS
$custom: #766d12;
$custom-light: #a1965a;
$custom-dark: #000000;
JSON
{
  "hex": "#766d12",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 18
  },
  "hsl": {
    "h": 54.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52706,
    "c": 0.10466,
    "h": 103.3
  },
  "luminance": 0.14833
}

Semantic roles & 50–950 ramp

primary
#766D12
secondary
#3742AD
accent
#48F038
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766D12

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

Preview Lab → · Contrast checker → · Palette generator →

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