#766917#766917

#766917 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.8% C 0.099 H 99.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#766917
RGBrgb(118, 105, 23)
HSLhsl(52, 67%, 28%)
HSVhsv(52, 81%, 46%)
CMYKcmyk(0%, 11%, 80.5%, 53.7%)
CIE-LABlab(44.26, -4.26, 44.52)
CIE-LCHlch(44.26, 44.73, 95.47°)
OKLaboklab(51.8% -0.0167 0.0971)
OKLCHoklch(51.8% 0.099 99.7)
XYZxyz(12.6781, 14.0172, 2.8482)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766917 #172476
analogous
#763917 #766917 #547617
triadic
#766917 #177669 #691776
tetradic
#766917 #177639 #172476 #761754
square
#766917 #177639 #172476 #761754
split-complementary
#766917 #175476 #391776
monochromatic
#1A1705 #433B0D #766917 #A99721 #D7C031

Accessibility & contrast

On white

5.52
#766917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#766917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766917
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766917#FFFFFF#000000##FFFFFF
##7669171.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#786B1D
Tritanopia (blue-blind)
#80615A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #766917;
/* rgb */ color: rgb(118, 105, 23);
/* oklch */ color: oklch(51.8% 0.099 99.7);
Tailwind
colors: {
  custom: {
    50: '#a1935c',
    500: '#766917',
    950: '#000000',
  },
}
SCSS
$custom: #766917;
$custom-light: #a1935c;
$custom-dark: #000000;
JSON
{
  "hex": "#766917",
  "rgb": {
    "r": 118,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 51.789,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51802,
    "c": 0.09856,
    "h": 99.7
  },
  "luminance": 0.14017
}

Semantic roles & 50–950 ramp

primary
#766917
secondary
#3E4DAB
accent
#55EA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #766917

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

Preview Lab → · Contrast checker → · Palette generator →

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