#767E17#767E17

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

Color values

HEX#767E17
RGBrgb(118, 126, 23)
HSLhsl(65, 69%, 29%)
HSVhsv(65, 82%, 49%)
CMYKcmyk(6.3%, 0%, 81.7%, 50.6%)
CIE-LABlab(50.49, -15.89, 50.15)
CIE-LCHlch(50.49, 52.61, 107.58°)
OKLaboklab(56.78% -0.0491 0.1092)
OKLCHoklch(56.78% 0.12 114.2)
XYZxyz(15.0872, 18.8354, 3.6513)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767E17 #1F177E
analogous
#7E5317 #767E17 #437E17
triadic
#767E17 #17767E #7E1776
tetradic
#767E17 #177E53 #1F177E #7E1743
square
#767E17 #177E53 #1F177E #7E1743
split-complementary
#767E17 #17437E #53177E
monochromatic
#181A05 #464A0E #767E17 #A6B220 #CDDA35

Accessibility & contrast

On white

4.41
#767E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##767E17#FFFFFF#000000##000000
##767E171.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #767e17;
/* rgb */ color: rgb(118, 126, 23);
/* oklch */ color: oklch(56.8% 0.120 114.2);
Tailwind
colors: {
  custom: {
    50: '#a1a35f',
    500: '#767e17',
    950: '#000000',
  },
}
SCSS
$custom: #767e17;
$custom-light: #a1a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#767e17",
  "rgb": {
    "r": 118,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 64.66,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56779,
    "c": 0.11972,
    "h": 114.2
  },
  "luminance": 0.18835
}

Semantic roles & 50–950 ramp

primary
#767E17
secondary
#473EB3
accent
#3CEC4A
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #767E17

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

Preview Lab → · Contrast checker → · Palette generator →

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