#767A18#767A18

#767A18 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.8% C 0.115 H 112.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#767A18
RGBrgb(118, 122, 24)
HSLhsl(62, 67%, 29%)
HSVhsv(62, 80%, 48%)
CMYKcmyk(3.3%, 0%, 80.3%, 52.2%)
CIE-LABlab(49.30, -13.70, 48.76)
CIE-LCHlch(49.30, 50.65, 105.69°)
OKLaboklab(55.82% -0.043 0.1064)
OKLCHoklch(55.82% 0.115 112)
XYZxyz(14.5961, 17.8369, 3.5380)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767A18 #1C187A
analogous
#7A4D18 #767A18 #457A18
triadic
#767A18 #18767A #7A1876
tetradic
#767A18 #187A4D #1C187A #7A1845
square
#767A18 #187A4D #1C187A #7A1845
split-complementary
#767A18 #18457A #4D187A
monochromatic
#191A05 #45470E #767A18 #A7AD22 #D1D735

Accessibility & contrast

On white

4.60
#767A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#767A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #767A18
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767A18#FFFFFF#000000##FFFFFF
##767A181.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#7F7268
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #767a18;
/* rgb */ color: rgb(118, 122, 24);
/* oklch */ color: oklch(55.8% 0.115 112.0);
Tailwind
colors: {
  custom: {
    50: '#a1a05e',
    500: '#767a18',
    950: '#000000',
  },
}
SCSS
$custom: #767a18;
$custom-light: #a1a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#767a18",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 62.449,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55822,
    "c": 0.11477,
    "h": 112
  },
  "luminance": 0.17837
}

Semantic roles & 50–950 ramp

primary
#767A18
secondary
#443FAF
accent
#3EEA45
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #767A18

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

Preview Lab → · Contrast checker → · Palette generator →

#767A18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva