#767117#767117

#767117 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.7% C 0.106 H 106.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#767117
RGBrgb(118, 113, 23)
HSLhsl(57, 67%, 28%)
HSVhsv(57, 81%, 46%)
CMYKcmyk(0%, 4.2%, 80.5%, 53.7%)
CIE-LABlab(46.61, -8.79, 46.66)
CIE-LCHlch(46.61, 47.49, 100.67°)
OKLaboklab(53.67% -0.0294 0.1017)
OKLCHoklch(53.67% 0.106 106.1)
XYZxyz(13.5316, 15.7242, 3.1327)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767117 #171C76
analogous
#764117 #767117 #4C7617
triadic
#767117 #177671 #711776
tetradic
#767117 #177641 #171C76 #76174C
square
#767117 #177641 #171C76 #76174C
split-complementary
#767117 #174C76 #411776
monochromatic
#1A1905 #43400D #767117 #A9A221 #D7CE31

Accessibility & contrast

On white

5.07
#767117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#767117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767117
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767117#FFFFFF#000000##FFFFFF
##7671171.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C01
Deuteranopia (green-blind)
#7D701E
Tritanopia (blue-blind)
#7F6960
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #767117;
/* rgb */ color: rgb(118, 113, 23);
/* oklch */ color: oklch(53.7% 0.106 106.1);
Tailwind
colors: {
  custom: {
    50: '#a1995d',
    500: '#767117',
    950: '#000000',
  },
}
SCSS
$custom: #767117;
$custom-light: #a1995d;
$custom-dark: #000000;
JSON
{
  "hex": "#767117",
  "rgb": {
    "r": 118,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 56.842,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.53673,
    "c": 0.10589,
    "h": 106.1
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#767117
secondary
#3E43AB
accent
#47EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #767117

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

Preview Lab → · Contrast checker → · Palette generator →

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