#767918#767918

#767918 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.6% C 0.114 H 111.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#767918
RGBrgb(118, 121, 24)
HSLhsl(62, 67%, 28%)
HSVhsv(62, 80%, 47%)
CMYKcmyk(2.5%, 0%, 80.2%, 52.5%)
CIE-LABlab(49.00, -13.16, 48.49)
CIE-LCHlch(49.00, 50.25, 105.18°)
OKLaboklab(55.58% -0.0415 0.1058)
OKLCHoklch(55.58% 0.114 111.4)
XYZxyz(14.4740, 17.5926, 3.4972)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767918 #1B1879
analogous
#794B18 #767918 #457918
triadic
#767918 #187679 #791876
tetradic
#767918 #18794B #1B1879 #791845
square
#767918 #18794B #1B1879 #791845
split-complementary
#767918 #184579 #4B1879
monochromatic
#191A05 #44460E #767918 #A8AC22 #D2D735

Accessibility & contrast

On white

4.65
#767918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#767918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #767918
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767918#FFFFFF#000000##FFFFFF
##7679181.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#7F7167
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #767918;
/* rgb */ color: rgb(118, 121, 24);
/* oklch */ color: oklch(55.6% 0.114 111.4);
Tailwind
colors: {
  custom: {
    50: '#a19f5e',
    500: '#767918',
    950: '#000000',
  },
}
SCSS
$custom: #767918;
$custom-light: #a19f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#767918",
  "rgb": {
    "r": 118,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 61.856,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55582,
    "c": 0.11367,
    "h": 111.4
  },
  "luminance": 0.17592
}

Semantic roles & 50–950 ramp

primary
#767918
secondary
#423FAE
accent
#3EEA43
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #767918

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

Preview Lab → · Contrast checker → · Palette generator →

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