#767817#767817

#767817 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.3% C 0.113 H 110.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#767817
RGBrgb(118, 120, 23)
HSLhsl(61, 68%, 28%)
HSVhsv(61, 81%, 47%)
CMYKcmyk(1.7%, 0%, 80.8%, 52.9%)
CIE-LABlab(48.69, -12.66, 48.54)
CIE-LCHlch(48.69, 50.16, 104.61°)
OKLaboklab(55.34% -0.0402 0.1057)
OKLCHoklch(55.34% 0.113 110.8)
XYZxyz(14.3429, 17.3468, 3.4032)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#767817 #191778
analogous
#784917 #767817 #457817
triadic
#767817 #177678 #781776
tetradic
#767817 #177849 #191778 #781745
square
#767817 #177849 #191778 #781745
split-complementary
#767817 #174578 #491778
monochromatic
#191A05 #43450D #767817 #A8AB21 #D4D832

Accessibility & contrast

On white

4.70
#767817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#767817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #767817
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##767817#FFFFFF#000000##FFFFFF
##7678171.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#7F7066
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #767817;
/* rgb */ color: rgb(118, 120, 23);
/* oklch */ color: oklch(55.3% 0.113 110.8);
Tailwind
colors: {
  custom: {
    50: '#a19e5e',
    500: '#767817',
    950: '#000000',
  },
}
SCSS
$custom: #767817;
$custom-light: #a19e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#767817",
  "rgb": {
    "r": 118,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 61.237,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55337,
    "c": 0.11311,
    "h": 110.8
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

primary
#767817
secondary
#403EAD
accent
#3DEB41
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #767817

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

Preview Lab → · Contrast checker → · Palette generator →

#767817 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva