#767318#767318

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

Color values

HEX#767318
RGBrgb(118, 115, 24)
HSLhsl(58, 66%, 28%)
HSVhsv(58, 80%, 46%)
CMYKcmyk(0%, 2.5%, 79.7%, 53.7%)
CIE-LABlab(47.21, -9.86, 46.87)
CIE-LCHlch(47.21, 47.89, 101.89°)
OKLaboklab(54.15% -0.0323 0.1024)
OKLCHoklch(54.15% 0.107 107.5)
XYZxyz(13.7674, 16.1794, 3.2617)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767318 #181B76
analogous
#764418 #767318 #4A7618
triadic
#767318 #187673 #731876
tetradic
#767318 #187644 #181B76 #76184A
square
#767318 #187644 #181B76 #76184A
split-complementary
#767318 #184A76 #441876
monochromatic
#191905 #43410E #767318 #A9A522 #D5D033

Accessibility & contrast

On white

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

On black

4.24
#767318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##767318#FFFFFF#000000##FFFFFF
##7673181.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #767318;
/* rgb */ color: rgb(118, 115, 24);
/* oklch */ color: oklch(54.2% 0.107 107.5);
Tailwind
colors: {
  custom: {
    50: '#a19b5d',
    500: '#767318',
    950: '#000000',
  },
}
SCSS
$custom: #767318;
$custom-light: #a19b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#767318",
  "rgb": {
    "r": 118,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 58.085,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.10735,
    "h": 107.5
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#767318
secondary
#3F42AB
accent
#44E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #767318

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

Preview Lab → · Contrast checker → · Palette generator →

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