#767A17#767A17

#767A17 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#767A17
RGBrgb(118, 122, 23)
HSLhsl(62, 68%, 28%)
HSVhsv(62, 81%, 48%)
CMYKcmyk(3.3%, 0%, 81.1%, 52.2%)
CIE-LABlab(49.29, -13.74, 49.08)
CIE-LCHlch(49.29, 50.97, 105.64°)
OKLaboklab(55.82% -0.0432 0.1069)
OKLCHoklch(55.82% 0.115 112)
XYZxyz(14.5859, 17.8328, 3.4842)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767A17 #1B177A
analogous
#7A4C17 #767A17 #447A17
triadic
#767A17 #17767A #7A1776
tetradic
#767A17 #177A4C #1B177A #7A1744
square
#767A17 #177A4C #1B177A #7A1744
split-complementary
#767A17 #17447A #4C177A
monochromatic
#191A05 #44470D #767A17 #A8AD21 #D2D933

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##767A17#FFFFFF#000000##FFFFFF
##767A171.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)
#847620
Tritanopia (blue-blind)
#7F7268
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #767a17;
/* rgb */ color: rgb(118, 122, 23);
/* oklch */ color: oklch(55.8% 0.115 112.0);
Tailwind
colors: {
  custom: {
    50: '#a1a05e',
    500: '#767a17',
    950: '#000000',
  },
}
SCSS
$custom: #767a17;
$custom-light: #a1a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#767a17",
  "rgb": {
    "r": 118,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 62.424,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55816,
    "c": 0.11529,
    "h": 112
  },
  "luminance": 0.17832
}

Semantic roles & 50–950 ramp

primary
#767A17
secondary
#423EAF
accent
#3DEB44
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #767A17

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

Preview Lab → · Contrast checker → · Palette generator →

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