#766912#766912

#766912 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.8% C 0.101 H 100.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#766912
RGBrgb(118, 105, 18)
HSLhsl(52, 74%, 27%)
HSVhsv(52, 85%, 46%)
CMYKcmyk(0%, 11%, 84.7%, 53.7%)
CIE-LABlab(44.23, -4.45, 46.19)
CIE-LCHlch(44.23, 46.40, 95.51°)
OKLaboklab(51.77% -0.0177 0.0997)
OKLCHoklch(51.77% 0.101 100.1)
XYZxyz(12.6326, 13.9990, 2.6088)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766912 #121F76
analogous
#763712 #766912 #517612
triadic
#766912 #127669 #691276
tetradic
#766912 #127637 #121F76 #761251
square
#766912 #127637 #121F76 #761251
split-complementary
#766912 #125176 #371276
monochromatic
#1B1804 #413A0A #766912 #AB981A #DEC625

Accessibility & contrast

On white

5.53
#766912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#766912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766912
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766912#FFFFFF#000000##FFFFFF
##7669121.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#786B19
Tritanopia (blue-blind)
#806059
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #766912;
/* rgb */ color: rgb(118, 105, 18);
/* oklch */ color: oklch(51.8% 0.101 100.1);
Tailwind
colors: {
  custom: {
    50: '#a19359',
    500: '#766912',
    950: '#000000',
  },
}
SCSS
$custom: #766912;
$custom-light: #a19359;
$custom-dark: #000000;
JSON
{
  "hex": "#766912",
  "rgb": {
    "r": 118,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 52.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51774,
    "c": 0.10121,
    "h": 100.1
  },
  "luminance": 0.13998
}

Semantic roles & 50–950 ramp

primary
#766912
secondary
#3747AD
accent
#50F038
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766912

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

Preview Lab → · Contrast checker → · Palette generator →

#766912 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva