#766A12#766A12

#766A12 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.0% C 0.102 H 100.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#766A12
RGBrgb(118, 106, 18)
HSLhsl(53, 74%, 27%)
HSVhsv(53, 85%, 46%)
CMYKcmyk(0%, 10.2%, 84.7%, 53.7%)
CIE-LABlab(44.52, -5.03, 46.44)
CIE-LCHlch(44.52, 46.71, 96.18°)
OKLaboklab(52.01% -0.0193 0.1002)
OKLCHoklch(52.01% 0.102 100.9)
XYZxyz(12.7351, 14.2039, 2.6430)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766A12 #121E76
analogous
#763812 #766A12 #507612
triadic
#766A12 #12766A #6A1276
tetradic
#766A12 #127638 #121E76 #761250
square
#766A12 #127638 #121E76 #761250
split-complementary
#766A12 #125076 #381276
monochromatic
#1B1804 #413A0A #766A12 #AB9A1A #DEC725

Accessibility & contrast

On white

5.47
#766A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#766A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766A12
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766A12#FFFFFF#000000##FFFFFF
##766A121.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#786B19
Tritanopia (blue-blind)
#80625A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #766a12;
/* rgb */ color: rgb(118, 106, 18);
/* oklch */ color: oklch(52.0% 0.102 100.9);
Tailwind
colors: {
  custom: {
    50: '#a1945a',
    500: '#766a12',
    950: '#000000',
  },
}
SCSS
$custom: #766a12;
$custom-light: #a1945a;
$custom-dark: #000000;
JSON
{
  "hex": "#766a12",
  "rgb": {
    "r": 118,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 52.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52006,
    "c": 0.10205,
    "h": 100.9
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#766A12
secondary
#3745AD
accent
#4EF038
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766A12

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

Preview Lab → · Contrast checker → · Palette generator →

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