#767E18#767E18

#767E18 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 56.8% C 0.119 H 114.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#767E18
RGBrgb(118, 126, 24)
HSLhsl(65, 68%, 29%)
HSVhsv(65, 81%, 49%)
CMYKcmyk(6.3%, 0%, 81%, 50.6%)
CIE-LABlab(50.50, -15.85, 49.84)
CIE-LCHlch(50.50, 52.30, 107.64°)
OKLaboklab(56.78% -0.049 0.1087)
OKLCHoklch(56.78% 0.119 114.2)
XYZxyz(15.0974, 18.8395, 3.7051)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767E18 #20187E
analogous
#7E5318 #767E18 #437E18
triadic
#767E18 #18767E #7E1876
tetradic
#767E18 #187E53 #20187E #7E1843
square
#767E18 #187E53 #20187E #7E1843
split-complementary
#767E18 #18437E #53187E
monochromatic
#181A05 #464B0E #767E18 #A6B122 #CCD937

Accessibility & contrast

On white

4.40
#767E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#767E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767E18
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767E18#FFFFFF#000000##000000
##767E181.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#7E766B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #767e18;
/* rgb */ color: rgb(118, 126, 24);
/* oklch */ color: oklch(56.8% 0.119 114.2);
Tailwind
colors: {
  custom: {
    50: '#a1a35f',
    500: '#767e18',
    950: '#000000',
  },
}
SCSS
$custom: #767e18;
$custom-light: #a1a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#767e18",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 64.706,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56784,
    "c": 0.11923,
    "h": 114.2
  },
  "luminance": 0.18839
}

Semantic roles & 50–950 ramp

primary
#767E18
secondary
#483FB2
accent
#3DEB4B
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #767E18

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

Preview Lab → · Contrast checker → · Palette generator →

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