#767017#767017

#767017 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.4% C 0.105 H 105.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#767017
RGBrgb(118, 112, 23)
HSLhsl(56, 67%, 28%)
HSVhsv(56, 81%, 46%)
CMYKcmyk(0%, 5.1%, 80.5%, 53.7%)
CIE-LABlab(46.31, -8.23, 46.40)
CIE-LCHlch(46.31, 47.12, 100.06°)
OKLaboklab(53.44% -0.0279 0.1012)
OKLCHoklch(53.44% 0.105 105.4)
XYZxyz(13.4206, 15.5023, 3.0958)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767017 #171D76
analogous
#764117 #767017 #4C7617
triadic
#767017 #177670 #701776
tetradic
#767017 #177641 #171D76 #76174C
square
#767017 #177641 #171D76 #76174C
split-complementary
#767017 #174C76 #411776
monochromatic
#1A1805 #433F0D #767017 #A9A121 #D7CC31

Accessibility & contrast

On white

5.12
#767017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#767017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767017
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767017#FFFFFF#000000##FFFFFF
##7670171.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#7D6F1E
Tritanopia (blue-blind)
#7F685F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #767017;
/* rgb */ color: rgb(118, 112, 23);
/* oklch */ color: oklch(53.4% 0.105 105.4);
Tailwind
colors: {
  custom: {
    50: '#a1985d',
    500: '#767017',
    950: '#000000',
  },
}
SCSS
$custom: #767017;
$custom-light: #a1985d;
$custom-dark: #000000;
JSON
{
  "hex": "#767017",
  "rgb": {
    "r": 118,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 56.211,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.53438,
    "c": 0.10492,
    "h": 105.4
  },
  "luminance": 0.15502
}

Semantic roles & 50–950 ramp

primary
#767017
secondary
#3E44AB
accent
#48EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #767017

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

Preview Lab → · Contrast checker → · Palette generator →

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