#767317#767317

#767317 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.1% C 0.108 H 107.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#767317
RGBrgb(118, 115, 23)
HSLhsl(58, 67%, 28%)
HSVhsv(58, 81%, 46%)
CMYKcmyk(0%, 2.5%, 80.5%, 53.7%)
CIE-LABlab(47.20, -9.91, 47.20)
CIE-LCHlch(47.20, 48.23, 101.85°)
OKLaboklab(54.15% -0.0325 0.1029)
OKLCHoklch(54.15% 0.108 107.6)
XYZxyz(13.7572, 16.1754, 3.2079)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767317 #171A76
analogous
#764317 #767317 #4A7617
triadic
#767317 #177673 #731776
tetradic
#767317 #177643 #171A76 #76174A
square
#767317 #177643 #171A76 #76174A
split-complementary
#767317 #174A76 #431776
monochromatic
#1A1905 #43410D #767317 #A9A521 #D7D231

Accessibility & contrast

On white

4.96
#767317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#767317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767317
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767317#FFFFFF#000000##FFFFFF
##7673171.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7F711F
Tritanopia (blue-blind)
#7F6B62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #767317;
/* rgb */ color: rgb(118, 115, 23);
/* oklch */ color: oklch(54.1% 0.108 107.6);
Tailwind
colors: {
  custom: {
    50: '#a19b5d',
    500: '#767317',
    950: '#000000',
  },
}
SCSS
$custom: #767317;
$custom-light: #a19b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#767317",
  "rgb": {
    "r": 118,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 58.105,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54146,
    "c": 0.1079,
    "h": 107.6
  },
  "luminance": 0.16175
}

Semantic roles & 50–950 ramp

primary
#767317
secondary
#3E41AB
accent
#43EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #767317

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

Preview Lab → · Contrast checker → · Palette generator →

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