#766112#766112

#766112 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.9% C 0.095 H 92.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#766112
RGBrgb(118, 97, 18)
HSLhsl(47, 74%, 27%)
HSVhsv(47, 85%, 46%)
CMYKcmyk(0%, 17.8%, 84.7%, 53.7%)
CIE-LABlab(41.92, 0.19, 44.17)
CIE-LCHlch(41.92, 44.17, 89.75°)
OKLaboklab(49.94% -0.0046 0.0953)
OKLCHoklch(49.94% 0.095 92.8)
XYZxyz(11.8558, 12.4453, 2.3499)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766112 #122776
analogous
#762F12 #766112 #597612
triadic
#766112 #127661 #611276
tetradic
#766112 #12762F #122776 #761259
square
#766112 #12762F #122776 #761259
split-complementary
#766112 #125976 #2F1276
monochromatic
#1B1604 #41350A #766112 #AB8D1A #DEB725

Accessibility & contrast

On white

6.02
#766112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#766112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766112
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766112#FFFFFF#000000##FFFFFF
##7661121.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#726518
Tritanopia (blue-blind)
#805852
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #766112;
/* rgb */ color: rgb(118, 97, 18);
/* oklch */ color: oklch(49.9% 0.095 92.8);
Tailwind
colors: {
  custom: {
    50: '#a18d58',
    500: '#766112',
    950: '#000000',
  },
}
SCSS
$custom: #766112;
$custom-light: #a18d58;
$custom-dark: #000000;
JSON
{
  "hex": "#766112",
  "rgb": {
    "r": 118,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 47.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4994,
    "c": 0.09538,
    "h": 92.8
  },
  "luminance": 0.12445
}

Semantic roles & 50–950 ramp

primary
#766112
secondary
#3750AD
accent
#5EF038
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766112

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

Preview Lab → · Contrast checker → · Palette generator →

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