#767D17#767D17

#767D17 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.5% C 0.119 H 113.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#767D17
RGBrgb(118, 125, 23)
HSLhsl(64, 69%, 29%)
HSVhsv(64, 82%, 49%)
CMYKcmyk(5.6%, 0%, 81.6%, 51%)
CIE-LABlab(50.19, -15.36, 49.88)
CIE-LCHlch(50.19, 52.19, 107.11°)
OKLaboklab(56.54% -0.0477 0.1086)
OKLCHoklch(56.54% 0.119 113.7)
XYZxyz(14.9600, 18.5810, 3.6089)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767D17 #1E177D
analogous
#7D5117 #767D17 #437D17
triadic
#767D17 #17767D #7D1776
tetradic
#767D17 #177D51 #1E177D #7D1743
square
#767D17 #177D51 #1E177D #7D1743
split-complementary
#767D17 #17437D #51177D
monochromatic
#181A05 #45490D #767D17 #A7B121 #CEDA35

Accessibility & contrast

On white

4.45
#767D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#767D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767D17
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767D17#FFFFFF#000000##000000
##767D171.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#877821
Tritanopia (blue-blind)
#7E756A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #767d17;
/* rgb */ color: rgb(118, 125, 23);
/* oklch */ color: oklch(56.5% 0.119 113.7);
Tailwind
colors: {
  custom: {
    50: '#a1a25e',
    500: '#767d17',
    950: '#000000',
  },
}
SCSS
$custom: #767d17;
$custom-light: #a1a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#767d17",
  "rgb": {
    "r": 118,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 64.118,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56538,
    "c": 0.11861,
    "h": 113.7
  },
  "luminance": 0.18581
}

Semantic roles & 50–950 ramp

primary
#767D17
secondary
#463EB2
accent
#3CEC48
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #767D17

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

Preview Lab → · Contrast checker → · Palette generator →

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