#766B18#766B18

#766B18 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.3% C 0.100 H 101.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#766B18
RGBrgb(118, 107, 24)
HSLhsl(53, 66%, 28%)
HSVhsv(53, 80%, 46%)
CMYKcmyk(0%, 9.3%, 79.7%, 53.7%)
CIE-LABlab(44.85, -5.36, 44.70)
CIE-LCHlch(44.85, 45.02, 96.84°)
OKLaboklab(52.27% -0.0197 0.0977)
OKLCHoklch(52.27% 0.1 101.4)
XYZxyz(12.8944, 14.4335, 2.9707)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766B18 #182376
analogous
#763C18 #766B18 #527618
triadic
#766B18 #18766B #6B1876
tetradic
#766B18 #18763C #182376 #761852
square
#766B18 #18763C #182376 #761852
split-complementary
#766B18 #185276 #3C1876
monochromatic
#191705 #433D0E #766B18 #A99922 #D5C233

Accessibility & contrast

On white

5.40
#766B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#766B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766B18
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766B18#FFFFFF#000000##FFFFFF
##766B181.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766806
Deuteranopia (green-blind)
#796C1E
Tritanopia (blue-blind)
#80635B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #766b18;
/* rgb */ color: rgb(118, 107, 24);
/* oklch */ color: oklch(52.3% 0.100 101.4);
Tailwind
colors: {
  custom: {
    50: '#a1955c',
    500: '#766b18',
    950: '#000000',
  },
}
SCSS
$custom: #766b18;
$custom-light: #a1955c;
$custom-dark: #000000;
JSON
{
  "hex": "#766b18",
  "rgb": {
    "r": 118,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 52.979,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52273,
    "c": 0.09971,
    "h": 101.4
  },
  "luminance": 0.14433
}

Semantic roles & 50–950 ramp

primary
#766B18
secondary
#3F4BAB
accent
#53E93F
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766B18

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

Preview Lab → · Contrast checker → · Palette generator →

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