#766317#766317

#766317 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.4% C 0.094 H 94.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#766317
RGBrgb(118, 99, 23)
HSLhsl(48, 67%, 28%)
HSVhsv(48, 81%, 46%)
CMYKcmyk(0%, 16.1%, 80.5%, 53.7%)
CIE-LABlab(42.52, -0.78, 42.92)
CIE-LCHlch(42.52, 42.93, 91.05°)
OKLaboklab(50.43% -0.0068 0.0937)
OKLCHoklch(50.43% 0.094 94.2)
XYZxyz(12.0884, 12.8378, 2.6517)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766317 #172A76
analogous
#763317 #766317 #597617
triadic
#766317 #177663 #631776
tetradic
#766317 #177633 #172A76 #761759
square
#766317 #177633 #172A76 #761759
split-complementary
#766317 #175976 #331776
monochromatic
#1A1505 #43380D #766317 #A98E21 #D7B631

Accessibility & contrast

On white

5.89
#766317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#766317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766317
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766317#FFFFFF#000000##FFFFFF
##7663171.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6108
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#805A54
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #766317;
/* rgb */ color: rgb(118, 99, 23);
/* oklch */ color: oklch(50.4% 0.094 94.2);
Tailwind
colors: {
  custom: {
    50: '#a18f5b',
    500: '#766317',
    950: '#000000',
  },
}
SCSS
$custom: #766317;
$custom-light: #a18f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#766317",
  "rgb": {
    "r": 118,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 48,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50425,
    "c": 0.09397,
    "h": 94.2
  },
  "luminance": 0.12837
}

Semantic roles & 50–950 ramp

primary
#766317
secondary
#3E53AB
accent
#60EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766317

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

Preview Lab → · Contrast checker → · Palette generator →

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