#767818#767818

#767818 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.3% C 0.113 H 110.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#767818
RGBrgb(118, 120, 24)
HSLhsl(61, 67%, 28%)
HSVhsv(61, 80%, 47%)
CMYKcmyk(1.7%, 0%, 80%, 52.9%)
CIE-LABlab(48.70, -12.62, 48.22)
CIE-LCHlch(48.70, 49.84, 104.66°)
OKLaboklab(55.34% -0.04 0.1052)
OKLCHoklch(55.34% 0.113 110.8)
XYZxyz(14.3531, 17.3508, 3.4569)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767818 #1A1878
analogous
#784A18 #767818 #467818
triadic
#767818 #187678 #781876
tetradic
#767818 #18784A #1A1878 #781846
square
#767818 #18784A #1A1878 #781846
split-complementary
#767818 #184678 #4A1878
monochromatic
#191A05 #44450E #767818 #A8AB22 #D3D634

Accessibility & contrast

On white

4.70
#767818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#767818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767818
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767818#FFFFFF#000000##FFFFFF
##7678181.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#7F7066
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #767818;
/* rgb */ color: rgb(118, 120, 24);
/* oklch */ color: oklch(55.3% 0.113 110.8);
Tailwind
colors: {
  custom: {
    50: '#a19e5e',
    500: '#767818',
    950: '#000000',
  },
}
SCSS
$custom: #767818;
$custom-light: #a19e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#767818",
  "rgb": {
    "r": 118,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 61.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55343,
    "c": 0.11259,
    "h": 110.8
  },
  "luminance": 0.1735
}

Semantic roles & 50–950 ramp

primary
#767818
secondary
#413FAD
accent
#3EEA42
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #767818

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

Preview Lab → · Contrast checker → · Palette generator →

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