#767C17#767C17

#767C17 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.3% C 0.117 H 113.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#767C17
RGBrgb(118, 124, 23)
HSLhsl(64, 69%, 29%)
HSVhsv(64, 81%, 49%)
CMYKcmyk(4.8%, 0%, 81.5%, 51.4%)
CIE-LABlab(49.89, -14.82, 49.61)
CIE-LCHlch(49.89, 51.78, 106.63°)
OKLaboklab(56.3% -0.0462 0.108)
OKLCHoklch(56.3% 0.117 113.2)
XYZxyz(14.8340, 18.3291, 3.5669)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767C17 #1D177C
analogous
#7C5017 #767C17 #447C17
triadic
#767C17 #17767C #7C1776
tetradic
#767C17 #177C50 #1D177C #7C1744
square
#767C17 #177C50 #1D177C #7C1744
split-complementary
#767C17 #17447C #50177C
monochromatic
#191A05 #45480D #767C17 #A7B021 #D0D934

Accessibility & contrast

On white

4.50
#767C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#767C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #767C17
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767C17#FFFFFF#000000##000000
##767C171.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#867820
Tritanopia (blue-blind)
#7F746A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #767c17;
/* rgb */ color: rgb(118, 124, 23);
/* oklch */ color: oklch(56.3% 0.117 113.2);
Tailwind
colors: {
  custom: {
    50: '#a1a15e',
    500: '#767c17',
    950: '#000000',
  },
}
SCSS
$custom: #767c17;
$custom-light: #a1a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#767c17",
  "rgb": {
    "r": 118,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 63.564,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56297,
    "c": 0.11749,
    "h": 113.2
  },
  "luminance": 0.18329
}

Semantic roles & 50–950 ramp

primary
#767C17
secondary
#453EB1
accent
#3CEC47
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #767C17

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

Preview Lab → · Contrast checker → · Palette generator →

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